-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
19 lines (17 loc) · 722 Bytes
/
Makefile
File metadata and controls
19 lines (17 loc) · 722 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
DOCKER ?= docker
CONTAINER_USER ?= $(shell id -u):$(shell id -g)
scaffold:
$(DOCKER) run \
--volume .:/project \
--user $(CONTAINER_USER) \
--interactive --tty --rm \
--pull always \
ghcr.io/phpyh/scaffolder:latest \
--package-vendor-default thesis \
--package-project-default '$(shell basename $$(pwd))' \
--php-constraint-default '^8.4' \
--authors-default '[{"name":"kafkiansky","email":"vadimzanfir@gmail.com"},{"name":"Valentin Udaltsov","email":"udaltsov.valentin@gmail.com"},{"name":"Thesis Team","homepage":"https://github.com/orgs/thesis-php/people"}]' \
--copyright-holder-default 'Valentin Udaltsov'
git add --all 2>/dev/null || true
.PHONY: scaffold
.DEFAULT_GOAL := scaffold