From: Michael Wallner Date: Fri, 28 Jun 2013 21:08:13 +0000 (+0200) Subject: docs X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=d3b7c02d8dfffbe00caae860e7a05248ee70efcd;p=m6w6%2Fbtr docs --- diff --git a/README.md b/README.md index e36ea38..04bab76 100644 --- a/README.md +++ b/README.md @@ -9,3 +9,31 @@ A simple tool to automate reporting of build and test results. * source: git, svn * build: php, pecl * report: mail + +#### 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 + build: php + report: mail +``` +#### Examples + +`USER=mike@php.net ./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` +