Skip to content

Commit

Permalink
clean makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
icewind1991 committed Jul 23, 2016
1 parent 9828fa0 commit 9639692
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
14 changes: 6 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,18 @@ clean:
rm -rf $(build_dir)
rm -rf node_modules

install-deps: install-npm-deps

install-npm-deps:
install-deps:
npm install --production

install-npm-deps-dev:
install-deps-dev:
npm install --deps

optimize-js: install-npm-deps install-bower-deps
javascript:
npm run build

dev-setup: install-npm-deps-dev
dev-setup: install-deps-dev

appstore: clean install-deps optimize-js package
appstore: clean install-deps-dev javascript package

package:
mkdir -p $(appstore_dir)
Expand All @@ -37,7 +35,7 @@ package:
--exclude=$(project_dir)/.gitignore \
--exclude=$(project_dir)/.travis.yml \
--exclude=$(project_dir)/.scrutinizer.yml \
--exclude=$(project_dir)/CONTRIBUTING.md \
--exclude=$(project_dir)/CONTRIBUTING.md \
--exclude=$(project_dir)/package.json \
--exclude=$(project_dir)/Makefile \
-cvzf $(appstore_dir)/$(package_name).tar.gz $(project_dir) \
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"babel-preset-es2015": "^6.6.0",
"babel-preset-react": "^6.5.0",
"better-npm-run": "0.0.8",
"clean-webpack-plugin": "^0.1.9",
"clean-webpack-plugin": "^0.1.10",
"concurrently": "2.1.0",
"css-loader": "^0.23.1",
"eslint": "^2.11.1",
Expand Down

0 comments on commit 9639692

Please sign in to comment.