Sha256: d6597fa9c297b98ee895574ec015fdb769db3516fca138fde32c34b1f65e6326
Contents?: true
Size: 497 Bytes
Versions: 1
Compression:
Stored size: 497 Bytes
Contents
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
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sprockets-commonjs-0.0.5 | Rakefile |