Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: ahoward/rego
base: 43870ebf69
...
head fork: ahoward/rego
compare: 044a60a783
  • 2 commits
  • 2 files changed
  • 0 commit comments
  • 2 contributors
Showing with 13 additions and 13 deletions.
  1. +5 −5 README
  2. +8 −8 bin/rego
View
10 README
@@ -23,21 +23,21 @@ EXAMPLES
# say hai whenever the file foo.txt changes
#
- ~> rego echo hai -- foo.txt
+ ~> rego foo.txt -- echo hai
# say hai whenever any file (recursively) in bar changes
#
- ~> rego echo hai -- ./bar/
+ ~> rego ./bar/ -- echo hai
# echo *the file that changed* when any file (recursively) in bar changes
#
- ~> rego echo "@ was changed" -- ./bar/
+ ~> rego ./bar/ -- echo "@ was changed"
# run a specific test whenever anything in lib, test, app, or config changes
#
- ~> rego ruby -Itest ./test/units/foo_test.rb --name teh_test -- {lib,test,app,config}
+ ~> rego {lib,test,app,config} -- ruby -Itest ./test/units/foo_test.rb --name teh_test
# run a specific test whenever it, or your app, has changed
#
- ~> rego ruby -Itest @ -- ./test
+ ~> rego ./test -- ruby -Itest @
View
16 bin/rego
@@ -18,26 +18,26 @@ Main {
### gem install rego
-
+
# say hai whenever the file foo.txt changes
#
- ~> rego echo hai -- foo.txt
+ ~> rego foo.txt -- echo hai
- # say hai whenever any file (recursively) in bar changes
+ # say hai whenever any file (recursively) in bar changes
#
- ~> rego echo hai -- ./bar/
+ ~> rego ./bar/ -- echo hai
- # echo *the file that changed* when any file (recursively) in bar changes
+ # echo *the file that changed* when any file (recursively) in bar changes
#
- ~> rego echo "@ was changed" -- ./bar/
+ ~> rego ./bar/ -- echo "@ was changed"
# run a specific test whenever anything in lib, test, app, or config changes
#
- ~> rego ruby -Itest ./test/units/foo_test.rb --name teh_test -- {lib,test,app,config}
+ ~> rego {lib,test,app,config} -- ruby -Itest ./test/units/foo_test.rb --name teh_test
# run a specific test whenever it, or your app, has changed
#
- ~> rego ruby -Itest @ -- ./test
+ ~> rego ./test -- ruby -Itest @
__
def run

No commit comments for this range

Something went wrong with that request. Please try again.