Skip to content

Commit

Permalink
Bug SAFeSEA#34, fixes for Composer build script; package hash-js
Browse files Browse the repository at this point in the history
…[iet:10301360]
  • Loading branch information
nfreear committed Feb 7, 2018
1 parent a74cfc0 commit 71a6a5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"composer copy-dotenv", "composer copy-conf", "composer mkdir", "composer symlink-data", "npm run symlink-js"
],
"build": [
"npm run build", "npm run min", "npm run hash-js", "composer version,json"
"npm run build", "npm run min", "npm run hash-js", "composer version.json"
],
"mkdir": [ "mkdir ./.cache", "mkdir ./.logs", "mkdir -p _user_data/images" ],
"chown": [ "chown -R nginx:nginx ./.cache", "chown -R nginx:nginx ./.logs" ],
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"min": "uglifyjs openessayist-js/*core.js openessayist-js/*init.js openessayist-js/*ajax.js --comments /^!/ -o public_html/assets/app.min.js",
"#- ug": "uglifyjs pub*/as*/openes*/*/*core.js pub*/as*/openes*/*/*init.js -b --comments /^!/ -o public_html/assets/app.js",
"# ug": "uglifyjs public_html/assets/openessayist/js/openessayist.core.js",
"hash-js": "cd public_html/assets; ln -s app.js app.r$(git rev-parse --short HEAD).js",
"hash-js": "cd public_html/assets; ln -fs app.js app.r$(git rev-parse --short HEAD).js",
"test": "semistandard public_html/assets/openessayist/js/open*.js",
"fix": "semistandard --fix"
}
Expand Down

0 comments on commit 71a6a5f

Please sign in to comment.