From d3b7c02d8dfffbe00caae860e7a05248ee70efcd Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Fri, 28 Jun 2013 23:08:13 +0200 Subject: [PATCH] docs --- README.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) 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` + -- 2.30.2