Skip to content

Commit

Permalink
Initial port of build process to gulp
Browse files Browse the repository at this point in the history
1. Move all build related code to gulpfile.js
2. Add `npm` scripts for all gulp tasks so no one needs to install gulp globally.
3. Added new `jshint-watch` task for continually running jsHint on changed files and writing the results to the console.
  • Loading branch information
mramato committed Oct 16, 2015
1 parent 429d134 commit 7e08a7b
Show file tree
Hide file tree
Showing 7 changed files with 844 additions and 45 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ Thumbs.db
/Apps/CesiumViewer/Gallery/gallery-index.js

/Apps/Sandcastle/jsHintOptions.js
/Apps/Sandcastle/.jshintrc
/Apps/Sandcastle/gallery/gallery-index.js

/Source/Cesium.js

/Source/Shaders/*.js
/Source/Shaders/*/*.js
/Source/Shaders/*/*/*.js
!/Source/Shaders/Shaders.profile.js

/Specs/SpecList.js

Expand Down
1 change: 1 addition & 0 deletions .idea/cesium.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 1 addition & 24 deletions .idea/watcherTasks.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion .jshintrc
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,6 @@
"shadow": false,
"sub": false,
"supernew": false,
"browser": true
"browser": true,
"predef": [ "JSON" ]
}
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: node_js
node_js:
- "0.10"
- "0.12"
sudo: false
script:
- ant jsHint release -DnodePath=node
- npm run jsHint && npm run release
Loading

0 comments on commit 7e08a7b

Please sign in to comment.