[hibernate-dev] Small script to run your test suite in a cloned repo

Sanne Grinovero sanne at hibernate.org
Fri Jan 21 05:29:51 EST 2011


Thank you, that's very useful.
Sanne

2011/1/20 Emmanuel Bernard <emmanuel at hibernate.org>:
> It's easy to forget to add a file in a commit and then proposed an incomplete pull request.
>
> Here is a small script that can help you prevent such things
>
> $ build.sh
> will clone the repo in your current directory and run 'maven clean install' off the current branch
> if you've forgotten a file, the clone will not get it
>
> $ build.sh clean test -pl module1,module2
> will clone the repo in your current directory and run 'maven clean test -pl module1,module2l' off the current branch
>
> https://gist.github.com/787631
>
> This script has another advantage. Since the repo is cloned, you can go work on your next problem while the test suite run as your current directory is not where the test suite runs.
>
> Of course this is maven specific but it can be easily adapted to run gradle.
>
> HTH
>
> Emmanuel
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>



More information about the hibernate-dev mailing list