Skip to content

Commit

Permalink
fix grunt
Browse files Browse the repository at this point in the history
  • Loading branch information
ex1st committed Sep 30, 2013
1 parent 38598a2 commit a3bab48
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
4 changes: 2 additions & 2 deletions compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ rm -rf $BUILD_FOLDER
mkdir $BUILD_FOLDER

mkdir $BUILD_FOLDER/modules
cp -r -L modules/* $BUILD_FOLDER/modules
cp -r modules/* $BUILD_FOLDER/modules

mkdir $BUILD_FOLDER/data
cp -r -L data/* $BUILD_FOLDER/data

mkdir $BUILD_FOLDER/node_modules
cp -r -L node_modules/* $BUILD_FOLDER/node_modules
cp -r node_modules/* $BUILD_FOLDER/node_modules

mkdir $BUILD_FOLDER/public
cp -r -L public/* $BUILD_FOLDER/public
Expand Down
14 changes: 9 additions & 5 deletions grun.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,13 +142,17 @@ module.exports = function(grunt) {
options: {
preserveComments: false,
beautify: {
ascii_only: true
ascii_only: false,
quote_keys: true
},
compress: {
hoist_funs: false,
join_vars: false,
loops: false,
unused: false
hoist_funs: true,
join_vars: true,
loops: true,
conditionals: true,
if_return: true,
unused: true,
comparisons: true
},
report: "min",
mangle: {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
, "grunt" : "0.4.x"
, "grunt-cli" : "0.1.x"
, "grunt-contrib-requirejs" : "0.4.x"
, "grunt-contrib-uglify" : "0.2.x"
, "grunt-contrib-uglify" : "0.2.4"
, "grunt-htmlcompressor" : "0.1.x"
, "grunt-pngmin" : "0.6.x"
, "grunt-smushit" : "0.4.x"
Expand Down

0 comments on commit a3bab48

Please sign in to comment.