Commit 3114296

mokha <mokha@cisco.com>
2019-05-14 02:44:32
add a rake task to run the program
1 parent 5feaaae
Changed files (1)
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]