Skip to content

Commit

Permalink
Switching to webpack and making build a bit smarter.
Browse files Browse the repository at this point in the history
Halves time for release compile.
  • Loading branch information
John Vilk committed May 19, 2016
1 parent 4e29558 commit b7a4aae
Show file tree
Hide file tree
Showing 84 changed files with 4,736 additions and 10,709 deletions.
26 changes: 13 additions & 13 deletions .gitignore
@@ -1,8 +1,8 @@
*.bat
*.js
*.js.map
vendor/java_home
includes
/vendor/java_home
/includes

*.swp
*.un~
Expand All @@ -11,19 +11,17 @@ includes
*.result
*.disasm
*.tar.gz
node_modules
build
/node_modules
/build
.DS_store
# Command-line tools
doppio
doppioh
doppio-dev
doppio-fast-dev
/doppio
/doppioh
/doppio-dev
/doppio-fast-dev
# Error log
doppio.err
# But we want to allow classes/doppio
!classes/doppio
classes/test/failures.txt
/classes/test/failures.txt

# IntelliJ metadata
*.iml
Expand All @@ -41,7 +39,9 @@ tscommand-*.txt
tasks/test/*.d.ts

# Generated for browser builds.
shims
/shims

# Generated for published modules.
bin
/bin

/dist
1 change: 0 additions & 1 deletion .travis.yml
Expand Up @@ -14,7 +14,6 @@ matrix:
cache:
directories:
- node_modules
- typings
- vendor/java_home

install:
Expand Down
2 changes: 1 addition & 1 deletion Gruntfile.js
Expand Up @@ -37,7 +37,7 @@ ts_files.forEach(function(e, i) {

// Run!
if (ts_files_to_compile.length > 0) {
ts_files_to_compile.push('typings/main.d.ts');
ts_files_to_compile.push('typings/index.d.ts');
result = child_process.spawnSync(ts_path, ['--noImplicitAny', '--module', 'commonjs'].concat(ts_files_to_compile));
if (!ignoreCompileErrors && result.status !== 0) {
throw new Error("Compilation error: " + result.stdout + "\n" + result.stderr);
Expand Down

0 comments on commit b7a4aae

Please sign in to comment.