Sha256: 4dfb9fd5842c9d2bf445538103d007669faa48c0582258c71e58579470f0bc85

Contents?: true

Size: 421 Bytes

Versions: 8

Compression:

Stored size: 421 Bytes

Contents

require 'bundler/gem_tasks'
require 'sprockets'
require 'sprockets/commonjs'
require 'rake/testtask'

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.libs << "test"
  t.warning = true
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
sprockets4-commonjs-0.0.7 Rakefile
sprockets-commonjs-0.0.6 Rakefile
sprockets-commonjs-0.0.6.rc1 Rakefile
sprockets-commonjs-0.0.6.pre Rakefile
sprockets-commonjs-0.0.4 Rakefile
sprockets-commonjs-0.0.5.pre Rakefile
sprockets-commonjs-0.0.3 Rakefile
sprockets-commonjs-0.0.2 Rakefile