summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormokha <mokha@cisco.com>2019-05-13 20:44:32 -0600
committermokha <mokha@cisco.com>2019-05-13 20:44:32 -0600
commit3114296c555d678ba1cff5bd9fb473616378ee94 (patch)
tree99942b5fe2ad6bd3aa69990f9a6e555e7a219667
parent5feaaae0c363cb1b21b7858b18cd2fe5c153ccfe (diff)
add a rake task to run the program
-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]