summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authormokha <mokha@cisco.com>2019-05-08 19:23:00 -0600
committermokha <mokha@cisco.com>2019-05-08 19:23:00 -0600
commit8bd8b39ade9857ca8e5579c008cf3ac7f91071d3 (patch)
treea43457f571abc4059f17c0b45c70baac475e27f6 /Rakefile
parent45cc3ed51321f3a735ceed7e3394ee3e6ab16af1 (diff)
generate PDF for each README.md
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index fc22a89..4cda630 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1,7 +1,9 @@
desc "Generate documentation"
task :doc do
sh 'mvn javadoc:javadoc'
- sh "mdpdf src/**/*.md"
+ Dir["src/**/*.md"].each do |file|
+ sh "mdpdf #{file}"
+ end
end
desc "Run tests"