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^
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user