Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

43 lines (37 sloc) 0.837 kB
require "rake-pipeline-web-filters"
require "pathology-rakep"
require "json"
# require "uglifier"
output "lib"
input "src" do
match "**/*.coffee" do |input|
filter PathologyConstantFilter
coffee_script
end
end
output "dist"
input "lib" do
match "**/*.js" do
minispade rewrite_requires: true, string:true, module_id_generator: proc { |input|
id = input.path.dup
id.sub!('/lib/', '/')
id.sub!(/\.js$/, '')
id.sub!(/\/main$/, '')
id
}
concat "alpha_simprini-spade.js"
end
end
output "tmp/test"
input "test" do
match "**/*.coffee" do
filter PathologyConstantFilter
coffee_script
end
end
# input "./", "alpha_simprini.erb" do
# require "./version"
# filter(Rake::Pipeline::Web::Filters::TiltFilter, {}, Object) do |input|
# "alpha_simprini.html"
# end
# end
Jump to Line
Something went wrong with that request. Please try again.