mirror of
https://github.com/edgecase/ruby_koans.git
synced 2026-04-15 07:23:19 -04:00
Add timestamps to package output
This commit is contained in:
5
Rakefile
5
Rakefile
@@ -11,8 +11,9 @@ DIST_DIR = 'dist'
|
|||||||
SRC_FILES = FileList["#{SRC_DIR}/*"]
|
SRC_FILES = FileList["#{SRC_DIR}/*"]
|
||||||
KOAN_FILES = SRC_FILES.pathmap("#{PROB_DIR}/%f")
|
KOAN_FILES = SRC_FILES.pathmap("#{PROB_DIR}/%f")
|
||||||
|
|
||||||
TAR_FILE = "#{DIST_DIR}/rubykoans.tgz"
|
today = Time.now.strftime("%Y-%m-%d")
|
||||||
ZIP_FILE = "#{DIST_DIR}/rubykoans.zip"
|
TAR_FILE = "#{DIST_DIR}/rubykoans-#{today}.tgz"
|
||||||
|
ZIP_FILE = "#{DIST_DIR}/rubykoans-#{today}.zip"
|
||||||
|
|
||||||
CLOBBER.include(DIST_DIR)
|
CLOBBER.include(DIST_DIR)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user