Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (12 sloc) 0.386 kb
require 'rubygems'
require "bundler/setup"
load 'jasmine/tasks/jasmine.rake'
desc "minify javascript"
task :minify do
require 'uglifier'
minified_code = Uglifier.compile File.read("lib/jquery.eventtracker.js")
File.open("lib/jquery.eventtracker.min.js", "w") do |file|
file.write("/* jQuery EventTracker v#{File.read("VERSION")} */\n")
file.write(minified_code)
end
end
Jump to Line
Something went wrong with that request. Please try again.