Adjust makefile

This commit is contained in:
Raimund Schlüßler 2018-08-30 23:23:11 +02:00
parent 93d27c1b94
commit 7166986d44
No known key found for this signature in database
GPG key ID: 036FA7EB1A599178

View file

@ -73,16 +73,15 @@ build:
development: development:
$(npm) install $(npm) install
$(npm) update $(npm) update
$(npm) run development $(npm) run dev
# Removes the build directory and the compiled files # Removes the build directory and the compiled files
.PHONY: clean .PHONY: clean
clean: clean:
rm -f ./css/style.scss
rm -f ./css/src/sprites.scss rm -f ./css/src/sprites.scss
rm -f ./img/sprites.svg rm -f ./img/sprites.svg
rm -f ./js/public/build.js rm -f ./js/tasks.js
rm -f ./js/public/build.js.map rm -f ./js/tasks.js.map
rm -rf $(build_directory) rm -rf $(build_directory)
# Same as clean but also removes dependencies installed by npm # Same as clean but also removes dependencies installed by npm
@ -103,11 +102,17 @@ appstore: clean build
--exclude=/.git \ --exclude=/.git \
--exclude=/.babelrc \ --exclude=/.babelrc \
--exclude=/.editorconfig \ --exclude=/.editorconfig \
--exclude=/.eslintrc.js \
--exclude=/.gitattributes \
--exclude=/.gitignore \ --exclude=/.gitignore \
--exclude=/.gitlab-ci.yml \ --exclude=/.gitlab-ci.yml \
--exclude=/.jshintrc \ --exclude=/.prettierrc.js \
--exclude=/.scrutinizer.yml \
--exclude=/.stylelintrc \ --exclude=/.stylelintrc \
--exclude=/.travis.yml \
--exclude=/.tx \
--exclude=/.v8flags*.json \ --exclude=/.v8flags*.json \
--exclude=/build.xml \
--exclude=/CONTRIBUTING.md \ --exclude=/CONTRIBUTING.md \
--exclude=/issue_template.md \ --exclude=/issue_template.md \
--exclude=/gulpfile.js \ --exclude=/gulpfile.js \
@ -117,13 +122,11 @@ appstore: clean build
--exclude=/README.md \ --exclude=/README.md \
--exclude=/webpack.common.js \ --exclude=/webpack.common.js \
--exclude=/webpack.prod.js \ --exclude=/webpack.prod.js \
--exclude=/webpack.test.js \ --exclude=/webpack.dev.js \
--exclude=/.nyc_output/ \
--exclude=/build \ --exclude=/build \
--exclude=/coverage \ --exclude=/coverage \
--exclude=/css/src \
--exclude=/img/src \ --exclude=/img/src \
--exclude=/js/app \ --exclude=/src \
--exclude=/node_modules \ --exclude=/node_modules \
--exclude=/screenshots/ \ --exclude=/screenshots/ \
--exclude=/test --exclude=/test