git://git.eng.unimelb.edu.au
/
ruby_koans.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b5dfb4
)
Add timestamps to package output
author
Matt Yoho
<mby@mattyoho.com>
Tue, 21 Sep 2010 21:48:30 +0000
(17:48 -0400)
committer
Matt Yoho
<mby@mattyoho.com>
Tue, 21 Sep 2010 21:48:30 +0000
(17:48 -0400)
Rakefile
patch
|
blob
|
history
diff --git
a/Rakefile
b/Rakefile
index
8fccbbd
..
de5d5be
100644
(file)
--- a/
Rakefile
+++ b/
Rakefile
@@
-11,8
+11,9
@@
DIST_DIR = 'dist'
SRC_FILES = FileList["#{SRC_DIR}/*"]
KOAN_FILES = SRC_FILES.pathmap("#{PROB_DIR}/%f")
-TAR_FILE = "#{DIST_DIR}/rubykoans.tgz"
-ZIP_FILE = "#{DIST_DIR}/rubykoans.zip"
+today = Time.now.strftime("%Y-%m-%d")
+TAR_FILE = "#{DIST_DIR}/rubykoans-#{today}.tgz"
+ZIP_FILE = "#{DIST_DIR}/rubykoans-#{today}.zip"
CLOBBER.include(DIST_DIR)