diff options
author | Eric Wong <normalperson@yhbt.net> | 2013-09-22 23:43:48 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2013-09-22 23:43:48 +0000 |
commit | 0ba71fbb030dff8b66392dcc48f536968bfb89b5 (patch) | |
tree | 0fb1c5384bafe33236cc09703774d664cf2b2562 | |
parent | 6f1dca4fada3359bec97f58d26f1403c78c6a20f (diff) | |
download | dtas-0ba71fbb030dff8b66392dcc48f536968bfb89b5.tar.gz |
This makes it easier to reference in mailing list posts and docs.
-rw-r--r-- | Rakefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |