Skip to content

Commit

Permalink
chore(makefile): Move the CS commands to a dedicated section (#780)
Browse files Browse the repository at this point in the history
  • Loading branch information
theofidry authored Jan 9, 2023
1 parent 313f910 commit 7e71cc1
Showing 1 changed file with 16 additions and 11 deletions.
27 changes: 16 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,21 @@ clean:
git clean --exclude=.idea/ -ffdx
rm -rf fixtures/check-requirements || true

.PHONY: compile
compile: ## Compiles the application into the PHAR
compile: box
cp -f box bin/box.phar

.PHONY: dump_requirement_checker
dump_requirement_checker:## Dumps the requirement checker
dump_requirement_checker:
cd requirement-checker; $(MAKE) --file=Makefile dump


#
# CS commands
#---------------------------------------------------------------------------

.PHONY: cs
cs: ## Fixes CS
cs: root_cs requirement_checker_cs
Expand Down Expand Up @@ -81,19 +96,9 @@ composer_normalize_lint: composer.json vendor
gitignore_sort:
LC_ALL=C sort -u .gitignore -o .gitignore

.PHONY: compile
compile: ## Compiles the application into the PHAR
compile: box
cp -f box bin/box.phar

.PHONY: dump_requirement_checker
dump_requirement_checker:## Dumps the requirement checker
dump_requirement_checker:
cd requirement-checker; $(MAKE) --file=Makefile dump


#
# Tests
# Tests commands
#---------------------------------------------------------------------------

.PHONY: test
Expand Down

0 comments on commit 7e71cc1

Please sign in to comment.