summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo k <mo@mokhan.ca>2012-02-15 16:24:49 -0700
committermo k <mo@mokhan.ca>2012-02-15 16:24:49 -0700
commitfda7402b36f86310afe52e9f30eb87fb73829a26 (patch)
tree26e6bf7a504b0657f2d65ff3aad210c75fde1491
parent3cded90bf0ec8812f62ebb2041be5cfbc1005a1a (diff)
add run task to run the rover.
-rwxr-xr-xbin/app.rb5
-rwxr-xr-x[-rw-r--r--]rakefile4
2 files changed, 9 insertions, 0 deletions
diff --git a/bin/app.rb b/bin/app.rb
new file mode 100755
index 0000000..c1cca1e
--- /dev/null
+++ b/bin/app.rb
@@ -0,0 +1,5 @@
+#!/usr/bin/env ruby -w
+
+require "rover"
+
+puts ARGV
diff --git a/rakefile b/rakefile
index ab46407..c4cc763 100644..100755
--- a/rakefile
+++ b/rakefile
@@ -5,3 +5,7 @@ end
task :default => :spec do
end
+
+task :run do
+ sh "ruby -I bin:lib bin/app.rb hello"
+end