summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authormokha <mokha@cisco.com>2019-05-08 19:12:54 -0600
committermokha <mokha@cisco.com>2019-05-08 19:12:54 -0600
commit24f849e76ac46ef2a08c3904cecb195e4f7f85af (patch)
tree48b887ff3c81105c2aa5d679bb1d6288504426e0 /Rakefile
parent47232c59d967beda6803b71019fb396fca7d7369 (diff)
add package to convert md files to pdf
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 3e0859d..fc22a89 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1,6 +1,7 @@
desc "Generate documentation"
task :doc do
sh 'mvn javadoc:javadoc'
+ sh "mdpdf src/**/*.md"
end
desc "Run tests"
@@ -9,7 +10,7 @@ task :test do
end
desc "Package assignment"
-task :package do
+task package: [:test, :doc] do
sh 'rm -fr tmp/assignment1/'
sh 'mkdir -p tmp/assignment1/'
sh 'cp -r src/ tmp/assignment1'