diff options
| author | mo khan <mo.khan@gmail.com> | 2019-09-02 12:12:14 -0600 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2019-09-02 12:12:14 -0600 |
| commit | a00876684e7059bd53474fd16c285caab94fb2a0 (patch) | |
| tree | 569ddc3fef0b1f61be054c6f6873449a0bb4e109 | |
| parent | 7998b52202ddee94116cac356426e6f623278e5b (diff) | |
describe the run tasks
| -rw-r--r-- | Rakefile | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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] |
