Skip to content

Commit

Permalink
chore(requirement-checker): Add a gitignore sort command (#746)
Browse files Browse the repository at this point in the history
  • Loading branch information
theofidry committed Jan 6, 2023
1 parent 9c166e7 commit 04e20a5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion requirement-checker/.gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/.box/
/.box_dump/
/.phpunit*
/.phpunit.result.cache
/actual_terminal_diff
/bin/*
/vendor/
/.phpunit.result.cache
5 changes: 4 additions & 1 deletion requirement-checker/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,15 @@ clean:

.PHONY: cs
cs: ## Fixes CS
cs:
cs: gitignore_sort

.PHONY: cs_lint
cs_lint: ## Checks CS
cs_lint:

.PHONY: gitignore_sort
gitignore_sort:
LC_ALL=C sort -u .gitignore -o .gitignore


#
Expand Down

0 comments on commit 04e20a5

Please sign in to comment.