diff options
| author | mokha <mokha@cisco.com> | 2019-05-06 19:46:01 -0600 |
|---|---|---|
| committer | mokha <mokha@cisco.com> | 2019-05-06 19:46:01 -0600 |
| commit | d478636a14f98cbae51e90de7a5e75024f597b88 (patch) | |
| tree | 8002da0837b5f723a1be218291f09468194ad9fa | |
| parent | 130425d1361aa38ab1cc80cf80d074a58ebdf9f4 (diff) | |
add rake tasks
| -rw-r--r-- | Gemfile | 7 | ||||
| -rw-r--r-- | Gemfile.lock | 13 | ||||
| -rw-r--r-- | Rakefile | 11 |
3 files changed, 31 insertions, 0 deletions
@@ -0,0 +1,7 @@ +# frozen_string_literal: true + +source "https://rubygems.org" + +git_source(:github) {|repo_name| "https://github.com/#{repo_name}" } + +gem "rake" diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 0000000..d63d583 --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,13 @@ +GEM + remote: https://rubygems.org/ + specs: + rake (12.3.2) + +PLATFORMS + ruby + +DEPENDENCIES + rake + +BUNDLED WITH + 2.0.1 diff --git a/Rakefile b/Rakefile new file mode 100644 index 0000000..56c4c97 --- /dev/null +++ b/Rakefile @@ -0,0 +1,11 @@ +desc "Generate documentation" +task :doc do + sh 'mvn javadoc:javadoc' +end + +desc "Run tests" +task :test do + sh 'mvn test' +end + +task default: [:test] |
