Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (13 sloc) 383 Bytes
desc "Use Sprockets to build plumb.js"
task :build_javascripts do
require "rubygems"
require "sprockets"
secretary = Sprockets::Secretary.new(
:asset_root => "www",
:load_path => ["vendor/*/src"],
:source_files => ["src/plumb.js"]
)
concatenation = secretary.concatenation
concatenation.save_to("plumb.js")
end
task :default => :build_javascripts