Created
December 12, 2011 14:46
-
-
Save ppcano/1467579 to your computer and use it in GitHub Desktop.
amberjs assetfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input "app" | |
output "assets" | |
match "**/*.css" do | |
filter ConcatFilter, "bpm_styles.css" | |
end | |
match "**/amber.js/packages/*/lib/**/*.js" do | |
# filter RegisterWrapper | |
# filter RequireRewrite | |
filter ConcatFilter, "trash" | |
end | |
# Hack to ignore certain files | |
match "**/*.{json,md,less}" do | |
filter ConcatFilter, "trash" | |
end | |
match "**/README" do | |
filter ConcatFilter, "trash" | |
end | |
match "*/*.js" do | |
filter ConcatFilter, "trash" | |
end | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
match "**/vendor/amber.js/packages/**/lib/**/*.js" do | |
filter RegisterWrapper | |
filter RequireRewrite | |
filter ConcatFilter, "sproutcore.js" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment