Skip to content

Commit

Permalink
Fix build script to run usemin on 404 and license pages
Browse files Browse the repository at this point in the history
  • Loading branch information
jstoudt committed Jun 17, 2013
1 parent 9d7902e commit 0df27fb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<link rel="author" href="humans.txt">
<link rel="stylesheet" href="css/style.css">

<!-- build:js js/libs/modernizr.min.js -->
<!-- build:js js/modernizr.min.js -->
<script src="js/libs/respond.src.js"></script>
<script src="js/libs/modernizr-2.6.2.custom.js"></script>
<!-- endbuild -->
Expand Down
6 changes: 5 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,11 @@ module.exports = function(grunt) {
}
},
usemin: {
html: ['publish/index.html'],
html: [
'publish/index.html',
'publish/license.html',
'publish/404.html'
],
options: {
basedir: 'publish'
}
Expand Down
2 changes: 1 addition & 1 deletion license.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<link rel="stylesheet" href="css/style.css">
<link rel="author" href="humans.txt">

<!-- build:js js/libs/modernizr.min.js -->
<!-- build:js js/modernizr.min.js -->
<script src="js/libs/respond.src.js"></script>
<script src="js/libs/modernizr-2.6.2.custom.js"></script>
<!-- endbuild -->
Expand Down

0 comments on commit 0df27fb

Please sign in to comment.