Skip to content
This repository was archived by the owner on Sep 19, 2025. It is now read-only.

Commit e1bfb52

Browse files
Update the compiler build process to use a submodule reference. Update to the 20160619 release.
1 parent 9edd1b8 commit e1bfb52

File tree

131 files changed

+40
-198268
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

131 files changed

+40
-198268
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
node_modules
22
npm-debug.log
3+
compiler.jar
4+
contrib/

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "compiler"]
2+
path = compiler
3+
url = [email protected]:google/closure-compiler.git

.travis.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,17 @@
11
language: node_js
22
node_js:
3+
- '6'
34
- '5'
45
- '0.12'
56
branches:
67
only:
78
- master
8-
after_success:
9-
- git config user.name "Travis CI"
10-
- git config user.email "[email protected]"
11-
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && ["${TRAVIS_NODE_VERSION}" -ge "5"] && gulp release-if-changed'
12-
- '[ "${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'
139
deploy:
1410
skip_cleanup: true
1511
provider: npm
1612
1713
on:
18-
node: '5'
14+
node: '6'
1915
branch: master
2016
api_key:
2117
secure: Tuuebi/+0YTMiDvij1DQh//wXb6pLi0pJgXw+GgawnKQjqSG55BjYtGK7XJ7KPSYXBghXq0gioFSFFWXH1lot9wyhFxtieHhVat6RLsbjq1jHVjLFmC+BuM7tuuuBniBU5ZGnmQPjrCsWYLDU7u9RDzWD5jmi1xM3ujzkghVBsxxEDo5mIveN4f3rt2Ph4NE7Sp8JTe7eKMV8EN5LFiS7lJpQeBYYLqEIx2iQCpdjVTVHkU56d+w81Emvi+F7tXEHgMFtGF1KfbBtp6L3jlCjA8sSdUN/oiJ/6xO+znwHFJYCBALCL+ooEuq5uK85WasJvJ4AOeFuFlWtIM7nMUJJbOweiF6ktKBPgELII4qn7ItTWkVeQkoOGGKSmlNZ1D4eKhjnj8XQZ7PDkLd2mEnEs3dimVCFrPYnb++BH7OjAKskQ+6CT4bLTBKXCf5slMYgfYVmYvF12tIxgo5reFyGlqO8K/VhqNFOw4lJHnB9fDtP8uvfZr8msYwo46xT5i34yXUxzyg4nSIOdZmCiheyrcXxDkrGoWbW+SDzWm1gozhYGcoAoiXADqEfdJEYVAfTz5bsbOykqiUbSzNCuWz4EclzW3VvJtG7ulc2weZYR6Fi0MvA4r1hIAp4UrKVLb+h6aJC92Nm+VCbJ4B+VbR71p2E9Y2C/fRLDaG5qGxgaQ=

build_compiler.js

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
#!/usr/bin/env node
2+
'use strict';
3+
4+
var spawn = require('child_process').spawnSync;
5+
var ncp = require('ncp');
6+
7+
var compilerBuild = spawn('ant', ['jar'], {
8+
cwd: './compiler',
9+
stdio: 'inherit'
10+
});
11+
12+
if (compilerBuild.status !== 0) {
13+
throw new Error('compiler build failed');
14+
}
15+
16+
ncp('./compiler/build/compiler.jar', './compiler.jar', function (err) {
17+
if (err) {
18+
throw new Error(err);
19+
}
20+
21+
ncp('./compiler/contrib', './contrib', function(err) {
22+
if (err) {
23+
throw new Error(err);
24+
}
25+
});
26+
});

compiler

Submodule compiler added at b18d299

compiler.jar

-6.37 MB
Binary file not shown.

0 commit comments

Comments
 (0)