Skip to content

Xcode friendly pre-commit code formatting using uncrustify (for iOS development)

Notifications You must be signed in to change notification settings

mzygar/Pre-commit-hooks

 
 

Repository files navigation

This repository contains code formatting pre-commit hook to use with git. It works easily with Xcode.

Check INSTALL for documentation on how to install and use these hooks.

canonicalize_filename.sh
   Provides the ability to canonicalize filenames similar to the GNU version of
   readlink -f with non GNU versions of readlink.

install_hooks.sh:
    Copy hooks over to your local git repository.

pre-commit:
    Allow to run multiple pre-commit hooks as specified in the script.

pre-commit-uncrustify:
    Run uncrustify on your sourcefiles and abort the commit if style violations
    have been detected. Generate a patch to fix these violations.

uncrustify_obj_c.cfg:
   Uncrusify config file for Objective-C.

About

Xcode friendly pre-commit code formatting using uncrustify (for iOS development)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Shell 100.0%