mirror of
https://github.com/JeroenED/libpairtwo.git
synced 2024-11-24 07:21:01 +01:00
Created clean-dist and clean-dev targets
This commit is contained in:
parent
0049d8d03e
commit
12b95eef5b
10
Makefile
10
Makefile
@ -35,16 +35,20 @@ dist: ## Generates distribution
|
|||||||
git reset --hard HEAD^
|
git reset --hard HEAD^
|
||||||
mv res/composer* dist/
|
mv res/composer* dist/
|
||||||
|
|
||||||
clean: ## Cleans the repository
|
clean: clean-dist clean-dev
|
||||||
rm -rf dist/doc
|
|
||||||
|
clean-dev:
|
||||||
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:
|
||||||
|
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
|
||||||
|
|
||||||
cs: ## Fixes coding standard problems
|
cs: ## Fixes coding standard problems
|
||||||
vendor/bin/php-cs-fixer fix || true
|
vendor/bin/php-cs-fixer fix || true
|
||||||
|
Loading…
Reference in New Issue
Block a user