-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update the compiler build process to use a submodule reference. Updat…
…e to the 20160619 release.
- Loading branch information
1 parent
9edd1b8
commit e1bfb52
Showing
131 changed files
with
40 additions
and
198,268 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
node_modules | ||
npm-debug.log | ||
compiler.jar | ||
contrib/ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "compiler"] | ||
path = compiler | ||
url = [email protected]:google/closure-compiler.git |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,17 @@ | ||
language: node_js | ||
node_js: | ||
- '6' | ||
- '5' | ||
- '0.12' | ||
branches: | ||
only: | ||
- master | ||
after_success: | ||
- git config user.name "Travis CI" | ||
- git config user.email "[email protected]" | ||
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && ["${TRAVIS_NODE_VERSION}" -ge "5"] && gulp release-if-changed' | ||
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && ["${TRAVIS_NODE_VERSION}" -ge "5"] && git push --follow-tags "https://chadkillingsworth:${GH_TOKEN}@github.com/ChadKillingsworth/closure-compiler-npm.git" HEAD:master' | ||
deploy: | ||
skip_cleanup: true | ||
provider: npm | ||
email: [email protected] | ||
on: | ||
node: '5' | ||
node: '6' | ||
branch: master | ||
api_key: | ||
secure: Tuuebi/+0YTMiDvij1DQh//wXb6pLi0pJgXw+GgawnKQjqSG55BjYtGK7XJ7KPSYXBghXq0gioFSFFWXH1lot9wyhFxtieHhVat6RLsbjq1jHVjLFmC+BuM7tuuuBniBU5ZGnmQPjrCsWYLDU7u9RDzWD5jmi1xM3ujzkghVBsxxEDo5mIveN4f3rt2Ph4NE7Sp8JTe7eKMV8EN5LFiS7lJpQeBYYLqEIx2iQCpdjVTVHkU56d+w81Emvi+F7tXEHgMFtGF1KfbBtp6L3jlCjA8sSdUN/oiJ/6xO+znwHFJYCBALCL+ooEuq5uK85WasJvJ4AOeFuFlWtIM7nMUJJbOweiF6ktKBPgELII4qn7ItTWkVeQkoOGGKSmlNZ1D4eKhjnj8XQZ7PDkLd2mEnEs3dimVCFrPYnb++BH7OjAKskQ+6CT4bLTBKXCf5slMYgfYVmYvF12tIxgo5reFyGlqO8K/VhqNFOw4lJHnB9fDtP8uvfZr8msYwo46xT5i34yXUxzyg4nSIOdZmCiheyrcXxDkrGoWbW+SDzWm1gozhYGcoAoiXADqEfdJEYVAfTz5bsbOykqiUbSzNCuWz4EclzW3VvJtG7ulc2weZYR6Fi0MvA4r1hIAp4UrKVLb+h6aJC92Nm+VCbJ4B+VbR71p2E9Y2C/fRLDaG5qGxgaQ= |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/usr/bin/env node | ||
'use strict'; | ||
|
||
var spawn = require('child_process').spawnSync; | ||
var ncp = require('ncp'); | ||
|
||
var compilerBuild = spawn('ant', ['jar'], { | ||
cwd: './compiler', | ||
stdio: 'inherit' | ||
}); | ||
|
||
if (compilerBuild.status !== 0) { | ||
throw new Error('compiler build failed'); | ||
} | ||
|
||
ncp('./compiler/build/compiler.jar', './compiler.jar', function (err) { | ||
if (err) { | ||
throw new Error(err); | ||
} | ||
|
||
ncp('./compiler/contrib', './contrib', function(err) { | ||
if (err) { | ||
throw new Error(err); | ||
} | ||
}); | ||
}); |
Binary file not shown.
Oops, something went wrong.