Created clean-dist and clean-dev targets

This commit is contained in:
Jeroen De Meerleer 2019-06-20 13:58:54 +02:00
parent 0049d8d03e
commit 12b95eef5b
Signed by: JeroenED
GPG Key ID: 28CCCB8F62BFADD6

View File

@ -35,16 +35,20 @@ dist: ## Generates distribution
git reset --hard HEAD^
mv res/composer* dist/
clean: ## Cleans the repository
rm -rf dist/doc
clean: clean-dist clean-dev
clean-dev:
rm -rf doc/api
rm -rf .idea
rm -rf .libpairtwo-distro
rm -rf vendor
rm -rf composer.lock
clean-dist:
rm -rf dist/doc
rm -rf dist/vendor
rm -rf dist/composer.json
rm -rf libpairtwo-dist.zip
rm -rf libpairtwo-*-dist.zip
cs: ## Fixes coding standard problems
vendor/bin/php-cs-fixer fix || true