GitHooks run unittests before committing code!
Mike Møller Nielsen
Git Hooks are easy to use! Place a script in the .git/hooks folder which i executable and with the hooktype as name. If the script returns code 0 the git action is carried out. Thank you for commenting it means a lot! Enjoy! :-) The code is not uploaded today. Let me know if you need it. Its very simple... Ill actually leave the script here: #!/bin/sh echo "Hellow I have added a git hoook!" echo "Yes its working... lets commit" echo "Path is: $(pwd)" ./gradlew clean test
Follow me on twitter: https://twitter.com/MikeMoelNielsen Support me on Patreon: https://www.patreon.com/mikemoellernielsen ... https://www.youtube.com/watch?v=5cuH4huDwzE
2020-01-17
0.34745951 LBC
Copyrighted (contact publisher)
112730151 Bytes