package-template/Makefile
Chicory 5a1898a64d
All checks were successful
Run code tests / Run-code-test (push) Successful in 1m1s
Makefile fix
2024-07-29 21:45:21 +03:00

33 lines
676 B
Makefile

service_name := composer-package-dev
compose_file := ./docker/docker-compose.yaml
compose_command := PUID=$(shell id -u) PGID=$(shell id -u) docker-compose -f $(compose_file)
compose_run := $(compose_command) run --rm $(service_name)
build:
@$(compose_command) build
install:
@make build
@$(compose_run) composer install
prune:
@$(compose_command) rm -fsv
exec-shell:
@$(compose_run) sh
code-style-fix:
@$(compose_run) composer code-style-fix
code-style-check:
@$(compose_run) composer code-style-check
analyze-code:
@$(compose_run) composer analyze-code
run-unit-tests:
@$(compose_run) composer run-unit-tests
full-test:
@$(compose_run) composer full-test