Closed JanNash closed 9 years ago
I think it should be { echo '#!/bin/sh'; echo 'python2 -mxUnique path/to/MyProject.xcodeproj'; echo 'python2 -mxUnique path/to/Pods.xcodeproj'; } > .git/hooks/pre-commit instead of { echo '#!/bin/sh'; echo 'python2 -mxUnique path/to/MyProject.xcodeproj'; echo 'python2 -mxUnique path/to/Pods.xcodeproj' } > .git/hooks/pre-commit
{ echo '#!/bin/sh'; echo 'python2 -mxUnique path/to/MyProject.xcodeproj'; echo 'python2 -mxUnique path/to/Pods.xcodeproj'; } > .git/hooks/pre-commit
{ echo '#!/bin/sh'; echo 'python2 -mxUnique path/to/MyProject.xcodeproj'; echo 'python2 -mxUnique path/to/Pods.xcodeproj' } > .git/hooks/pre-commit
(Missing semicolon after Pods.xcodeproj')
Pods.xcodeproj'
Apart from that, great project, Kudos!
I tried on zsh, it works. But on bash it does not work. Thanks for your remind, I will fix that😁
I think it should be
{ echo '#!/bin/sh'; echo 'python2 -mxUnique path/to/MyProject.xcodeproj'; echo 'python2 -mxUnique path/to/Pods.xcodeproj'; } > .git/hooks/pre-commit
instead of
{ echo '#!/bin/sh'; echo 'python2 -mxUnique path/to/MyProject.xcodeproj'; echo 'python2 -mxUnique path/to/Pods.xcodeproj' } > .git/hooks/pre-commit
(Missing semicolon after
Pods.xcodeproj'
)Apart from that, great project, Kudos!