mirror of
https://github.com/JeroenED/libpairtwo.git
synced 2024-11-24 07:21:01 +01:00
Merge branch 'clean-repo' into develop
This commit is contained in:
commit
46ecebd4e5
11
Makefile
11
Makefile
@ -33,21 +33,26 @@ dist: ## Generates distribution
|
||||
git reset --hard HEAD
|
||||
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 .idea
|
||||
rm -rf .libpairtwo-distro
|
||||
rm -rf vendor
|
||||
rm -rf composer.lock
|
||||
|
||||
clean-dist:
|
||||
clean-dist: ## Cleans distribution assets
|
||||
rm -rf dist/doc
|
||||
rm -rf dist/vendor
|
||||
rm -rf dist/composer.json
|
||||
rm -rf libpairtwo-*-dist.zip
|
||||
|
||||
clean-repo: ## Cleans the git repository
|
||||
git fsck
|
||||
git prune
|
||||
git gc
|
||||
|
||||
cs: ## Fixes coding standard problems
|
||||
vendor/bin/php-cs-fixer fix || true
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user