diff --git a/client/Gruntfile.coffee b/client/Gruntfile.coffee index c7a7e87..c537a2e 100644 --- a/client/Gruntfile.coffee +++ b/client/Gruntfile.coffee @@ -17,6 +17,10 @@ module.exports = (grunt) -> clean: compiledFiles: ["js"] + prod: [ + "node_modules", + "bower_components/fontawesome/src", + ] coffee: compile: @@ -49,5 +53,5 @@ module.exports = (grunt) -> # tasks grunt.registerTask('default', ['bower', 'clean:compiledFiles', 'coffee:compile']) - grunt.registerTask('prod', ['shell:bower', 'clean:compiledFiles', 'coffee:compile']) + grunt.registerTask('prod', ['shell:bower', 'clean:compiledFiles', 'coffee:compile', 'clean:prod']) grunt.registerTask('dev', ['default', 'concurrent:target']) diff --git a/client/index.html b/client/index.html index d88fe91..8c58bf9 100644 --- a/client/index.html +++ b/client/index.html @@ -9,7 +9,7 @@ - + diff --git a/makefile b/makefile new file mode 100644 index 0000000..773205b --- /dev/null +++ b/makefile @@ -0,0 +1,13 @@ +prod: + cd client; npm install + cd client; grunt prod + goxc + cd client; npm install + cd client; grunt + +dev: + go get + go test + go build + cd client; npm install + cd client; grunt