Skip to content
This repository was archived by the owner on Jun 6, 2019. It is now read-only.

Commit 91ac2a8

Browse files
committedAug 10, 2010
Auto-generate gzipped version when compiling
1 parent 4947f3b commit 91ac2a8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎Rakefile

+3
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,7 @@ task :compile do
3232
]
3333

3434
sh "java -jar #{closure_compiler} #{files.join(' ')} #{compiler_flags.join(' ')}"
35+
36+
# Make gzip version
37+
sh "cat #{File.join(BUILD_DIR, 'history-min.js')} | gzip -f > #{File.join(BUILD_DIR, 'history-min.js.gz')}"
3538
end

0 commit comments

Comments
 (0)
This repository has been archived.