-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
23 lines (22 loc) · 909 Bytes
/
Makefile
File metadata and controls
23 lines (22 loc) · 909 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
install:
cp -r .env.dist .env
cleanup:
rm -rf .git
docker-build:
docker build -f .docker/php8.4-cli/Dockerfile -t skeleton-8.4 .
composer-update:
docker run --rm -v $(shell pwd):/opt/php skeleton-8.4 sh -c 'composer update'
run-tests:
docker run --rm -v $(shell pwd):/opt/php skeleton-8.4 sh -c './vendor/bin/phpunit tests/'
docker-build-8.3:
docker build -f .docker/php8.3-cli/Dockerfile -t skeleton-8.3 .
composer-update-8.3:
docker run --rm -v $(shell pwd):/opt/php skeleton-8.3 sh -c 'composer update'
run-tests-8.3:
docker run --rm -v $(shell pwd):/opt/php skeleton-8.3 sh -c './vendor/bin/phpunit tests/'
docker-build-8.2:
docker build -f .docker/php8.2-cli/Dockerfile -t skeleton-8.2 .
composer-update-8.2:
docker run --rm -v $(shell pwd):/opt/php skeleton-8.2 sh -c 'composer update'
run-tests-8.2:
docker run --rm -v $(shell pwd):/opt/php skeleton-8.2 sh -c './vendor/bin/phpunit tests/'