X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fbtr;a=blobdiff_plain;f=README.md;h=f482cc8c70cd541c9de1e11a8344d33e9efc686d;hp=e36ea38d008bd976ea1eb5b4431734b7477015a1;hb=5735fce9818606a36ff3ebbbf902030bcd46c506;hpb=74ed14b7bc4b9d34e605cba40bd6d0a9ddd605cc diff --git a/README.md b/README.md index e36ea38..f482cc8 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,41 @@ # btr +A poor man's CI tool. + ## BUILD TEST REPORT A simple tool to automate reporting of build and test results. ### Currently supported rulesets: -* source: git, svn -* build: php, pecl -* report: mail +* ***source:*** git, svn +* ***build:*** php, pecl, gnu +* ***report:*** mail, notify-send + +#### Usage +``` +Usage: btr [-hv] [] + + -h, --help Display this help + -v, --verbose Be more verbose + + Options: + -s, --source= Use the specified source ruleset + -b, --build= Use the specified build ruleset + -r, --report= Use the specifued report ruleset + -B, --branch= Checkout this branch + -D, --directory= Use this directory as work root + -S, --suffix= Append suffix to the build name + -C, --configure= Define $CONFIGURE options + + Rulesets: + source: git svn + build: gnu pecl php + report: mail notify-send +``` +#### Examples + +`./bin/btr -s svn -b pecl -r mail -v https://svn.php.net/repository/pecl/http -B branches/DEV_2` + +`USER=mike@php.net TESTS=tests/output ./bin/btr -s git -b php -r mail git@git.php.net:php-src.git` +