forked from jolicode/slack-php-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
21 lines (14 loc) · 707 Bytes
/
Makefile
File metadata and controls
21 lines (14 loc) · 707 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
cs: ## Fix CS violations
./vendor/bin/php-cs-fixer fix --verbose
cs_dry_run: ## Display CS violations without fixing it
PHP_CS_FIXER_IGNORE_ENV=1 ./vendor/bin/php-cs-fixer fix --verbose --dry-run
spec_diff: ## detect diff between spec and SDK
CI_TEST=1 vendor/bin/jane-openapi generate --config-file=.jane-openapi.php && diff generated_ci generated
test: ## Run test suite
./vendor/bin/simple-phpunit
jane: ## Generate the SDK
./vendor/bin/jane-openapi generate --config-file=.jane-openapi.php
.PHONY: help
help: ## Display this help
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}'
.DEFAULT_GOAL := help