From c9f2f584b4c04ea7c959e392dfc7002ff29f0403 Mon Sep 17 00:00:00 2001 From: nawarian Date: Thu, 24 Mar 2016 22:28:18 -0300 Subject: [PATCH] #done --- deploy.rb | 9 --------- 1 file changed, 9 deletions(-) diff --git a/deploy.rb b/deploy.rb index fd708e4c..acfbc783 100644 --- a/deploy.rb +++ b/deploy.rb @@ -4,7 +4,6 @@ JMASK_FILE = 'src/jquery.mask.js' JMASK_MIN_FILE = 'dist/jquery.mask.min.js' GHPAGES_JMASK_MIN_FILE = 'js/jquery.mask.min.js' -JMASK_GZIP_FILE = 'dist/jquery.mask.min.js.gz' JMASK_VERSION = `stepup version --next-release`.delete("\n") BOWER_MANIFEST_FILE = 'bower.json' NPM_MANIFEST_FILE = 'package.json' @@ -41,14 +40,6 @@ minFile.close end -puts '# GENERATING GZIP FILE' -File.open(JMASK_GZIP_FILE, 'w') do |f| - minFile = File.open(JMASK_MIN_FILE, 'r').read - gz = Zlib::GzipWriter.new(f) - gz.write minFile - gz.close -end - puts '# GENERATING A NEW COMMIT WITH VERSIONED FILEs' `git commit -am 'generating jquery mask files #{JMASK_VERSION}'`