Skip to content

Commit

Permalink
Fix build to allow building of HTML only
Browse files Browse the repository at this point in the history
This allows to run `grunt demos` or `grunt demos-min`
  • Loading branch information
LaurentGoderre committed May 22, 2014
1 parent 4bfa643 commit 4b95f43
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions Gruntfile.coffee
Expand Up @@ -19,9 +19,8 @@ module.exports = (grunt) ->
"checkDependencies"
"test"
"build"
"assets-dist"
"demos"
"demos-dist"
"assets-min"
"demos-min"
]
)

Expand All @@ -39,7 +38,6 @@ module.exports = (grunt) ->
"Run full build."
[
"clean:dist"
"i18n_csv"
"assets"
"css"
"js"
Expand Down Expand Up @@ -103,6 +101,7 @@ module.exports = (grunt) ->
"js"
"INTERNAL: Copies all third party JS to the dist folder"
[
"i18n_csv:js"
"copy:js"
"concat:core"
"concat:coreIE8"
Expand Down Expand Up @@ -132,7 +131,7 @@ module.exports = (grunt) ->
)

@registerTask(
"assets-dist"
"assets-min"
"INTERNAL: Process non-CSS/JS assets to dist"
[
"copy:assets_min"
Expand All @@ -143,6 +142,7 @@ module.exports = (grunt) ->
"demos"
"INTERNAL: Create unminified demos"
[
"i18n_csv:assemble"
"copy:demos"
"csslint:demos"
"assemble:theme"
Expand All @@ -152,16 +152,16 @@ module.exports = (grunt) ->
)

@registerTask(
"demos-dist"
"demos-min"
"INTERNAL: Create minified demos"
[
"demos"
"copy:demos_min"
"cssmin:demos_min"
"uglify:demos"
"assemble:theme_min"
"assemble:ajax_min"
"assemble:demos_min"
"htmlcompressor"
"htmllint"
]
)
Expand Down Expand Up @@ -189,9 +189,9 @@ module.exports = (grunt) ->
"INTERNAL: prepare for running Mocha unit tests"
[
"build"
"assets-dist"
"assets-min"
"demos"
"demos-dist"
"demos-min"
"connect:test"
]
)
Expand Down

0 comments on commit 4b95f43

Please sign in to comment.