[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 6/6] Rakefile: add examples to website, too
From: |
Eric Wong |
Subject: |
[PATCH 6/6] Rakefile: add examples to website, too |
Date: |
Sun, 22 Sep 2013 23:44:28 +0000 |
This makes it easier to reference in mailing list posts and docs.
---
Rakefile | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/Rakefile b/Rakefile
index 918153b..225e7c0 100644
--- a/Rakefile
+++ b/Rakefile
@@ -73,7 +73,7 @@ task :rsync_docs do
# git-set-file-times is distributed with rsync,
# Also available at: http://yhbt.net/git-set-file-times
# on Debian systems: /usr/share/doc/rsync/scripts/git-set-file-times.gz
- sh("git", "set-file-times", "Documentation")
+ sh("git", "set-file-times", "Documentation", "examples")
Dir['Documentation/*.txt'].to_a.concat(top).each do |txt|
gz = "#{txt}.gz"
@@ -86,6 +86,9 @@ task :rsync_docs do
files << gz
end
sh("rsync --chmod=Fugo=r -av #{files.join(' ')} #{dest}")
+
+ examples = `git ls-files examples`.split("\n")
+ sh("rsync --chmod=Fugo=r -av #{examples.join(' ')} #{dest}/examples/")
end
task :coverage do
--
1.8.4
- [PATCH 1/6] splitfx: rename "opus" target to "opusenc", Eric Wong, 2013/09/22
- [PATCH 2/6] doc: add manpage for dtas-splitfx, Eric Wong, 2013/09/22
- [PATCH 5/6] dtas 0.4.0 - dtas-splitfx, tracklist in -player, Eric Wong, 2013/09/22
- [PATCH 3/6] splitfx: nodoc the Skip class, Eric Wong, 2013/09/22
- [PATCH 6/6] Rakefile: add examples to website, too,
Eric Wong <=
- [PATCH 4/6] README: update for dtas-splitfx and tracklist in -player, Eric Wong, 2013/09/22