Skip to content

Commit

Permalink
Merge pull request #451 from raimund-schluessler/fix/noid/makefile
Browse files Browse the repository at this point in the history
fix: adjust makefile
  • Loading branch information
raimund-schluessler authored Jan 7, 2024
2 parents 7d94adc + f3c45fa commit 941aa54
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 21 deletions.
1 change: 0 additions & 1 deletion .prettierrc.js

This file was deleted.

25 changes: 5 additions & 20 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,8 @@ update-composer: composer.phar
# Removes the build directory and the compiled files
.PHONY: clean
clean:
rm -f ./js/inventory-main.js
rm -f ./js/inventory-main.js.map
rm -f ./js/inventory-main.js.LICENSE.txt
rm -rf ./js/*
ls -d ./css/* | grep -P '^((?!unified-search.css).)*$$' | xargs -r -d'\n' rm
rm -rf $(build_directory)

# Same as clean but also removes dependencies installed by npm
Expand All @@ -105,49 +104,35 @@ appstore: clean build-js-production
rsync -av . $(appstore_build_directory) \
--exclude=/.git \
--exclude=/.github \
--exclude=/.babelrc \
--exclude=/.babelrc.js \
--exclude=/.editorconfig \
--exclude=/.eslintrc.js \
--exclude=/.eslintrc.cjs \
--exclude=/.gitattributes \
--exclude=/.gitignore \
--exclude=/.gitlab-ci.yml \
--exclude=/.phpunit.result.cache \
--exclude=/.php-cs-fixer.cache \
--exclude=/.php-cs-fixer.dist.php \
--exclude=/.prettierrc.js \
--exclude=/.scrutinizer.yml \
--exclude=/.stylelintignore \
--exclude=/.stylelintrc \
--exclude=/.travis.yml \
--exclude=/.tx \
--exclude=/.v8flags*.json \
--exclude=/babel.config.js \
--exclude=/babel.config.cjs \
--exclude=/build.xml \
--exclude=/composer.json \
--exclude=/composer.lock \
--exclude=/composer.phar \
--exclude=/CONTRIBUTING.md \
--exclude=/issue_template.md \
--exclude=/gulpfile.js \
--exclude=/Makefile \
--exclude=/package-lock.json \
--exclude=/package.json \
--exclude=/phpunit.xml \
--exclude=/phpunit.integration.xml \
--exclude=/README.md \
--exclude=/stylelint.config.js \
--exclude=/renovate.json \
--exclude=/webpack.config.js \
--exclude=/vite.config.mjs \
--exclude=/build \
--exclude=/ci \
--exclude=/coverage \
--exclude=/coverage_php \
--exclude=/img/src \
--exclude=/src \
--exclude=/node_modules \
--exclude=/screenshots/ \
--exclude=/test \
--exclude=/tests \
--exclude=/vendor
ifdef CAN_SIGN
Expand Down

0 comments on commit 941aa54

Please sign in to comment.