Skip to content

Commit

Permalink
#done
Browse files Browse the repository at this point in the history
  • Loading branch information
nawarian committed Mar 25, 2016
1 parent 4aa5d0d commit c9f2f58
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions deploy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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}'`

Expand Down

0 comments on commit c9f2f58

Please sign in to comment.