Modify build process

This commit is contained in:
Mattias Erming 2014-09-11 11:23:19 -07:00
parent 815ed887f4
commit 9a7d00781f
3 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,5 @@
module.exports = function(grunt) { module.exports = function(grunt) {
var libs = "client/js/**/*.js"; var libs = "client/js/libs/**/*.js";
grunt.initConfig({ grunt.initConfig({
watch: { watch: {
files: libs, files: libs,
@ -11,7 +11,7 @@ module.exports = function(grunt) {
}, },
js: { js: {
files: { files: {
"client/build/build.js": libs "client/js/libs.min.js": libs
} }
} }
} }

View File

@ -219,10 +219,10 @@
<script src="js/libs/socket.io.js"></script> <script src="js/libs/socket.io.js"></script>
<script src="js/libs/string.contains.js"></script> <script src="js/libs/string.contains.js"></script>
<script src="js/libs/uri.js"></script> <script src="js/libs/uri.js"></script>
<script src="js/shout.js"></script>
<script src="js/shout.templates.js"></script>
<% } else { %> <% } else { %>
<script src="build/build.js"></script> <script src="js/libs.min.js"></script>
<script src="js/shout.templates.js"></script>
<script src="js/shout.js"></script>
<% } %> <% } %>
</body> </body>

File diff suppressed because one or more lines are too long