Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 4afec6be4e
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (17 sloc) 0.497 kb
require 'bundler/gem_tasks'
require 'sprockets'
require 'sprockets/commonjs'
require 'rake/testtask'
require 'appraisal'
task :example do
env = Sprockets::Environment.new(File.expand_path('..', __FILE__))
env.append_path 'examples/'
target = File.expand_path('../examples/example.js', __FILE__)
env['application.js'].write_to target
end
task :default => :test
Rake::TestTask.new do |t|
t.test_files = FileList['test/**/*_test.rb']
t.libs << 'lib' << 'test'
t.warning = true
end
Jump to Line
Something went wrong with that request. Please try again.