Commit d478636

mokha <mokha@cisco.com>
2019-05-07 01:46:01
add rake tasks
1 parent 130425d
Gemfile
@@ -0,0 +1,7 @@
+# frozen_string_literal: true
+
+source "https://rubygems.org"
+
+git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
+
+gem "rake"
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
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]