Skip to content

Commit

Permalink
Use the gradle wrapper in the git publish script.
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Børlum committed Apr 17, 2011
1 parent d511de0 commit bf429be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -181,7 +181,7 @@ every commit you do locally.

You can setup a git command alias to check your code before you push anything.

git config alias.publish '! gradle check && git push "$@"'
git config alias.publish '! ./gradlew check && git push "$@"'

This will allow you to e.g. write:

Expand Down

0 comments on commit bf429be

Please sign in to comment.