summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authormokha <mokha@cisco.com>2019-05-13 22:23:14 -0600
committermokha <mokha@cisco.com>2019-05-13 22:23:14 -0600
commitd4ebaf2a4a33965526d4d56b639379200a406bef (patch)
treea9a3108f1516f1271fcf14084126bad70cd9f15b /Rakefile
parent38cf1c031c31bb99b246583751498c01818c1df6 (diff)
add stuff to zip
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index e381ebe..fa9a70f 100644
--- a/Rakefile
+++ b/Rakefile
@@ -4,6 +4,7 @@ task :doc do
Dir["src/**/*.md"].each do |file|
sh "mdpdf #{file}"
end
+ sh "mdpdf README.md"
end
desc "Run tests"
@@ -15,7 +16,10 @@ desc "Package assignment"
task package: [:test, :doc] do
sh 'rm -fr tmp/assignment1/'
sh 'mkdir -p tmp/assignment1/'
+ sh 'cp -r README.* tmp/assignment1/'
sh 'cp -r src/ tmp/assignment1'
+ sh 'cp -r doc/ tmp/assignment1/doc'
+ sh 'cp -r target/site/apidocs/ tmp/assignment1/doc'
sh 'cd tmp/ && zip -r assignment1.zip assignment1'
end