diff options
| author | Alban Peignier | 2012-03-16 12:44:01 +0100 |
|---|---|---|
| committer | Alban Peignier | 2012-03-16 12:44:01 +0100 |
| commit | 153c6f7022a608c6780b265d3b91c95829b192e4 (patch) | |
| tree | 87f9c986dbb186aea7d6d9f2ccefa13a3a19d9e1 /lib/tasks | |
| parent | 6792aa2c5f368a6147bf930391f0458e362e6160 (diff) | |
| download | chouette-core-153c6f7022a608c6780b265d3b91c95829b192e4.tar.bz2 | |
Create jekyll online help
Diffstat (limited to 'lib/tasks')
| -rw-r--r-- | lib/tasks/jekyll.rake | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/tasks/jekyll.rake b/lib/tasks/jekyll.rake new file mode 100644 index 000000000..5f7a06162 --- /dev/null +++ b/lib/tasks/jekyll.rake @@ -0,0 +1,11 @@ +namespace :jekyll do + desc "Generate help from doc/functional sources (use AUTO option to auto-regenerate)" + task :dist do + options = "--auto" if ENV['AUTO'] + sh "jekyll #{options} doc/functional public/help" + end + desc "Clean generated help" + task :clean do + rm_rf "public/help" + end +end |
