Merge branch 'clean-repo' into develop

This commit is contained in:
Jeroen De Meerleer 2019-11-15 17:35:15 +01:00
commit 46ecebd4e5
Signed by: JeroenED
GPG Key ID: 28CCCB8F62BFADD6

View File

@ -33,21 +33,26 @@ dist: ## Generates distribution
git reset --hard HEAD git reset --hard HEAD
mv res/composer* dist/ mv res/composer* dist/
clean: clean-dist clean-dev clean: clean-dist clean-dev clean-repo ## Cleans all assets
clean-dev: clean-dev: ## Cleans dev assets
rm -rf doc/api rm -rf doc/api
rm -rf .idea rm -rf .idea
rm -rf .libpairtwo-distro rm -rf .libpairtwo-distro
rm -rf vendor rm -rf vendor
rm -rf composer.lock rm -rf composer.lock
clean-dist: clean-dist: ## Cleans distribution assets
rm -rf dist/doc rm -rf dist/doc
rm -rf dist/vendor rm -rf dist/vendor
rm -rf dist/composer.json rm -rf dist/composer.json
rm -rf libpairtwo-*-dist.zip rm -rf libpairtwo-*-dist.zip
clean-repo: ## Cleans the git repository
git fsck
git prune
git gc
cs: ## Fixes coding standard problems cs: ## Fixes coding standard problems
vendor/bin/php-cs-fixer fix || true vendor/bin/php-cs-fixer fix || true