From 5beebfcd45d48b9afde09694c85d04bfa71c14d5 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sun, 1 Feb 2026 13:06:53 +0100 Subject: Initial conventions for AI agents and humans: AGENTS.md, SKILLS.md, instructions.md (#8478) Not stable yet, but initial structure https://agents.md https://agentskills.io/specification https://code.visualstudio.com/docs/copilot/customization/custom-instructions https://code.visualstudio.com/docs/copilot/customization/agent-skills --- Makefile | 63 +++++++++++++++++++++++++++++---------------------------------- 1 file changed, 29 insertions(+), 34 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 8ab9bee70..573e344ed 100644 --- a/Makefile +++ b/Makefile @@ -63,7 +63,7 @@ lint-fix: bin/phpcbf ## Fix the errors detected by the linter $(PHP) bin/phpcbf . -p -s .PHONY: test -test: bin/phpunit ## Run the test suite +test: bin/phpunit ## Run the PHP test suite $(PHP) bin/phpunit --bootstrap ./tests/bootstrap.php ./tests bin/composer: @@ -94,6 +94,34 @@ node_modules/.bin/eslint: node_modules/.bin/rtlcss: npm install +# TODO: Add composer install +.PHONY: composer-test +composer-test: bin/phpstan bin/composer + bin/composer run-script test + +.PHONY: composer-fix +composer-fix: bin/composer + bin/composer run-script fix + +.PHONY: npm-test +npm-test: node_modules/.bin/eslint + npm test + +.PHONY: npm-fix +npm-fix: node_modules/.bin/eslint + npm run fix + +.PHONY: typos-test +typos-test: bin/typos + bin/typos + +# TODO: Add shellcheck, shfmt, hadolint +.PHONY: test-all +test-all: composer-test npm-test typos-test ## Run all tests + +.PHONY: fix-all +fix-all: composer-fix npm-fix ## Run all fixes + ##@ I18n .PHONY: i18n-add-file i18n-add-file: ## Add a new translation file to all supported languages @@ -200,39 +228,6 @@ refresh: ## Refresh feeds by fetching new messages rtl: node_modules/.bin/rtlcss ## Generate RTL CSS files npm run-script rtlcss -############################### -## New commands aligned on CI # -## Work in progress # -############################### - -# TODO: Add composer install -.PHONY: composer-test -composer-test: bin/phpstan bin/composer - bin/composer run-script test - -.PHONY: composer-fix -composer-fix: bin/composer - bin/composer run-script fix - -.PHONY: npm-test -npm-test: node_modules/.bin/eslint - npm test - -.PHONY: npm-fix -npm-fix: node_modules/.bin/eslint - npm run fix - -.PHONY: typos-test -typos-test: bin/typos - bin/typos - -# TODO: Add shellcheck, shfmt, hadolint -.PHONY: test-all -test-all: composer-test npm-test typos-test - -.PHONY: fix-all -fix-all: composer-fix npm-fix - ##@ Help .PHONY: help help: ## Display this help -- cgit v1.2.3