Permalink
Browse files

Build: Add creation of demo JS to Makefile

  • Loading branch information...
1 parent 06affac commit 7a8ab737ef884e7a3cc241e9cc779426d8b616a4 @gabrielschulhof gabrielschulhof committed Jan 3, 2013
Showing with 4 additions and 2 deletions.
  1. +1 −0 Makefile
  2. +3 −2 grunt.js
View
@@ -35,6 +35,7 @@ js: init
# -------------------------------------------------
docs: init js css
@@${ARGS} bash build/bin/docs.sh
+ @@${ARGS} node node_modules/.bin/grunt concat:demosjs
# Output a message saying the process is complete
notify: init
View
@@ -91,9 +91,10 @@ module.exports = function( grunt ) {
},
demosjs: {
- src: [ '<banner:global.ver.header>',
+ src: [
path.join( 'docs', 'demos', '_assets', 'js', 'jqm-demos.js' ),
- path.join( 'docs', 'demos', '_assets', 'js', 'view-source.js' ) ],
+ path.join( 'docs', 'demos', '_assets', 'js', 'view-source.js' )
+ ],
dest: demosjsFile + '.js'
},

0 comments on commit 7a8ab73

Please sign in to comment.