summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authormo <mo.khan@gmail.com>2019-06-09 20:35:23 -0600
committermo <mo.khan@gmail.com>2019-06-09 20:35:23 -0600
commitd3aa9d7ba625a6af1627d078dc40bd192df4ce21 (patch)
tree5c924e0282c02443240cce7c17771486dd107feb /Rakefile
parentbe9f858950fcffe3d0bbf66cc55da86de134b3ca (diff)
add CLI for section 3
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Rakefile b/Rakefile
index c23654d..93b80c8 100644
--- a/Rakefile
+++ b/Rakefile
@@ -27,7 +27,6 @@ task(doc: [:pdf]) { sh 'mvn javadoc:javadoc' }
task publish: [:clean, :test, :doc, :repackage]
task(:build) { sh "mvn package" }
task(run: :build) { run_cli }
-task(run1: :build) { run_cli(1) }
-task(run2: :build) { run_cli(2) }
+1.upto(3) { |n| task("run#{n}": :build) { run_cli(n) } }
task default: [:publish]