diff options
| author | mokha <mokha@cisco.com> | 2019-05-13 20:44:32 -0600 |
|---|---|---|
| committer | mokha <mokha@cisco.com> | 2019-05-13 20:44:32 -0600 |
| commit | 3114296c555d678ba1cff5bd9fb473616378ee94 (patch) | |
| tree | 99942b5fe2ad6bd3aa69990f9a6e555e7a219667 /Rakefile | |
| parent | 5feaaae0c363cb1b21b7858b18cd2fe5c153ccfe (diff) | |
add a rake task to run the program
Diffstat (limited to 'Rakefile')
| -rw-r--r-- | Rakefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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] |
