Adjust makefile for changed config
This commit is contained in:
parent
fffc3ac64f
commit
9652be3f7f
1 changed files with 11 additions and 1 deletions
12
Makefile
12
Makefile
|
@ -79,7 +79,11 @@ development:
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
rm -f ./css/src/sprites.scss
|
rm -f ./css/src/sprites.scss
|
||||||
|
rm -f ./css/src/sprites-bw.scss
|
||||||
|
rm -f ./css/src/sprites-color.scss
|
||||||
rm -f ./img/sprites.svg
|
rm -f ./img/sprites.svg
|
||||||
|
rm -f ./img/bw.svg
|
||||||
|
rm -f ./img/color.svg
|
||||||
rm -f ./js/tasks.js
|
rm -f ./js/tasks.js
|
||||||
rm -f ./js/tasks.js.map
|
rm -f ./js/tasks.js.map
|
||||||
rm -rf $(build_directory)
|
rm -rf $(build_directory)
|
||||||
|
@ -101,6 +105,7 @@ appstore: clean build
|
||||||
rsync -av . $(appstore_build_directory) \
|
rsync -av . $(appstore_build_directory) \
|
||||||
--exclude=/.git \
|
--exclude=/.git \
|
||||||
--exclude=/.babelrc \
|
--exclude=/.babelrc \
|
||||||
|
--exclude=/.babelrc.js \
|
||||||
--exclude=/.editorconfig \
|
--exclude=/.editorconfig \
|
||||||
--exclude=/.eslintrc.js \
|
--exclude=/.eslintrc.js \
|
||||||
--exclude=/.gitattributes \
|
--exclude=/.gitattributes \
|
||||||
|
@ -120,6 +125,10 @@ appstore: clean build
|
||||||
--exclude=/package-lock.json \
|
--exclude=/package-lock.json \
|
||||||
--exclude=/package.json \
|
--exclude=/package.json \
|
||||||
--exclude=/README.md \
|
--exclude=/README.md \
|
||||||
|
--exclude=/svg-sprite-bw.json \
|
||||||
|
--exclude=/svg-sprite-bw.tmpl \
|
||||||
|
--exclude=/svg-sprite-color.json \
|
||||||
|
--exclude=/svg-sprite-color.tmpl \
|
||||||
--exclude=/webpack.common.js \
|
--exclude=/webpack.common.js \
|
||||||
--exclude=/webpack.prod.js \
|
--exclude=/webpack.prod.js \
|
||||||
--exclude=/webpack.dev.js \
|
--exclude=/webpack.dev.js \
|
||||||
|
@ -129,7 +138,8 @@ appstore: clean build
|
||||||
--exclude=/src \
|
--exclude=/src \
|
||||||
--exclude=/node_modules \
|
--exclude=/node_modules \
|
||||||
--exclude=/screenshots/ \
|
--exclude=/screenshots/ \
|
||||||
--exclude=/test
|
--exclude=/test \
|
||||||
|
--exclude=/tests
|
||||||
ifdef CAN_SIGN
|
ifdef CAN_SIGN
|
||||||
mv $(configdir)/config.php $(configdir)/config-2.php
|
mv $(configdir)/config.php $(configdir)/config-2.php
|
||||||
$(sign) --path="$(appstore_build_directory)"
|
$(sign) --path="$(appstore_build_directory)"
|
||||||
|
|
Loading…
Reference in a new issue