I have input location as "assets"; in assets I have various coffeescripts less files etc in varying subfolders
我做了资产档案工作! 内容大致如下:
require "rake-pipeline-web-filters"
require "rake-pipeline-web-filters/helpers"
output "public"
input "app/assets/javascripts"
match "**/*.coffee" do
coffee_script
end
## Take all JS inputs and wrap each of them in code to
## register them with the Minispade module loader.
match "**/*.js" do
minispade :module_id_generator => proc { |input| input.path.sub(/lib//, timelog/ ).sub(/.js$/, ) }
concat "javascripts/app.js"
end
# Take all Less inputs and compile them with Less
input "app/assets/stylesheets"
match "application.css.less" do
filter(Rake::Pipeline::Web::Filters::TiltFilter) do |input|
input.sub(/.less/, .css )
end
end
问题?
如何阻止将 as子放在生产链条里向公众倾销的档案?
各种强奸正在从资产中被丢入公共圆顶。