package-template/Makefile
Chicory 95a84bc2f6
All checks were successful
Run code tests / Run-code-test (push) Successful in 1m0s
Makefile fix
2024-07-29 21:47:28 +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 -g) 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