diff --git a/requirement-checker/.gitignore b/requirement-checker/.gitignore index 025f9e067..9960f802b 100644 --- a/requirement-checker/.gitignore +++ b/requirement-checker/.gitignore @@ -1,8 +1,10 @@ +!/dist/.gitkeep /.box/ /.box_dump/ /.phpunit* /.phpunit.result.cache /actual_terminal_diff /bin/* +/dist/ /tests/TerminalCompatibility/actual_diff /vendor/ diff --git a/requirement-checker/Makefile b/requirement-checker/Makefile index 7c49f1d10..99be8dfce 100644 --- a/requirement-checker/Makefile +++ b/requirement-checker/Makefile @@ -36,9 +36,11 @@ check: cs cs_lint test clean: ## Cleans all created artifacts clean: rm -rf \ + dist \ $(ACTUAL_TERMINAL_DIFF) \ .phpunit.result.cache \ || true + $(MAKE) dist .PHONY: cs cs: ## Fixes CS @@ -103,3 +105,8 @@ $(ACTUAL_TERMINAL_DIFF): src/Terminal.php vendor $(ORIGINAL_TERMINAL) $(ORIGINAL_TERMINAL): cd ..; $(MAKE) vendor-bin/requirement-checker/vendor touch -c $@ + +dist: + mkdir -p dist + touch dist/.gitkeep + touch -c $@ diff --git a/requirement-checker/phpunit.xml.dist b/requirement-checker/phpunit.xml.dist index 3bafd7a3f..0137f6d01 100644 --- a/requirement-checker/phpunit.xml.dist +++ b/requirement-checker/phpunit.xml.dist @@ -2,7 +2,8 @@ + colors="true" + cacheResultFile="dist/.phpunit.result.cache">