Skip to content

Commit

Permalink
Fix glob in gulp config which caused long execution times for the jav…
Browse files Browse the repository at this point in the history
…ascript task, add what-input.js which is required by foundation
  • Loading branch information
core77 committed Jan 29, 2016
1 parent 0c57b9b commit 7a5cd9f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ assets/css/app.css

# JavaScript
assets/js/all.js
assets/js/all-min.js
rev-manifest.json

# Cache
Expand Down
10 changes: 6 additions & 4 deletions gulp/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@ javascript:
# filename to output
filename: "all.js"
notification: "Running JavaScript"
# Paths to JavaScript libraries, which are compined into one file
# Paths to JavaScript libraries, which are combined into one file
src:
# Libraries requried by Foundation
- "assets/vendor/jquery/dist/jquery.js"
- "assets/vendor/what-input/what-input.js"

# Core Foundation files, all F6 components need this!
# Core Foundation files, all Foundation components need this!
- "assets/vendor/foundation-sites/js/foundation.core.js"

# Individual Foundation components
Expand Down Expand Up @@ -56,8 +57,9 @@ javascript:
# - "assets/vendor/foundation-sites/js/foundation.util.triggers.js"

# Paths to your own project code are here
- "assets/js/!(app).js"
- "assets/js/app.js"
# All the files in this list are concatenated into all.js
- "!assets/js/all.js"
- "assets/js/*.js"

jekyll:
notification: "Running jekyll"
Expand Down

0 comments on commit 7a5cd9f

Please sign in to comment.