Skip to content

Commit

Permalink
Merge pull request eriwen#38 from msgilligan/patch-1
Browse files Browse the repository at this point in the history
When env=='prod' use prod.js.files not dev.js.files
  • Loading branch information
eriwen committed Dec 3, 2012
2 parents be22b0f + 06155b2 commit 0ad9304
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ javascript.source {
// Specify a collection of files to be combined, then minified and finally GZip compressed.
task combinejs(type: com.eriwen.gradle.js.tasks.CombineJsTask) {
if (env == 'prod') {
source = javascript.source.dev.js.files
} else {
source = javascript.source.prod.js.files
} else {
source = javascript.source.dev.js.files
}
dest = file("${buildDir}/all.js")
}
Expand Down

0 comments on commit 0ad9304

Please sign in to comment.