summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2019-09-02 12:12:14 -0600
committermo khan <mo.khan@gmail.com>2019-09-02 12:12:14 -0600
commita00876684e7059bd53474fd16c285caab94fb2a0 (patch)
tree569ddc3fef0b1f61be054c6f6873449a0bb4e109
parent7998b52202ddee94116cac356426e6f623278e5b (diff)
describe the run tasks
-rw-r--r--Rakefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index bde875c..2d943ee 100644
--- a/Rakefile
+++ b/Rakefile
@@ -39,7 +39,13 @@ task(:test) { sh 'mvn test' }
task(doc: [:pdf]) { sh 'mvn javadoc:javadoc' }
task publish: [:clean, :test, :doc, :repackage]
task(:build) { sh "mvn package" }
+
+desc "run the CLI"
task(run: :build) { run_cli }
-1.upto(10) { |n| task("run#{n}": :build) { run_cli(n) } }
+
+1.upto(10) do |n|
+ desc "run the CLI for program #{n}"
+ task("run#{n}": :build) { run_cli(n) }
+end
task default: [:publish]