Sha256: c720dd8577bb13ae4566dd3c546186dadc58b4c75cc8149fe70eb9bc94f0ed30

Contents?: true

Size: 418 Bytes

Versions: 1

Compression:

Stored size: 418 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

1 entries across 1 versions & 1 rubygems

Version Path
roli-sprockets-commonjs-0.0.10 Rakefile