summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index 4cda630..1462155 100644
--- a/Rakefile
+++ b/Rakefile
@@ -19,4 +19,9 @@ task package: [:test, :doc] do
sh 'cd tmp/ && zip -r assignment1.zip assignment1'
end
+desc "Run the program"
+task run: [:package] do
+ sh "java -cp target/assignment1*.jar ca.mokhan.comp268.App"
+end
+
task default: [:test]