Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (16 sloc) 0.486 kB
require 'bundler'
Bundler::GemHelper.install_tasks
require 'rake/testtask'
task :default => [:uglify, :test]
Rake::TestTask.new(:test) do |test|
test.libs << 'lib' << 'test'
test.pattern = 'test/**/*_test.rb'
test.verbose = true
end
task :uglify do
require 'uglifier'
file_folder = "lib/assets/javascripts"
File.open("#{file_folder}/autocomplete-rails.js", "w") do |f|
f << Uglifier.compile(File.read("#{file_folder}/autocomplete-rails-uncompressed.js"))
end
end
Jump to Line
Something went wrong with that request. Please try again.