summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
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'