-
Notifications
You must be signed in to change notification settings - Fork 42
/
Copy path.ahoy.yml
49 lines (38 loc) · 1.06 KB
/
.ahoy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---
ahoyapi: v2
commands:
up:
usage: Build project.
cmd: |
docker compose up -d "$@"
down:
usage: Delete project.
cmd: docker compose down
build:
usage: Build project.
cmd: |
docker compose build "$@"
restart:
usage: Restart Docker containers.
cmd: docker compose restart
stop:
usage: Stop Docker containers.
cmd: docker compose stop "$@"
watch:
usage: Use Compose Watch for live development.
cmd: docker compose watch
cli:
usage: Start a shell.
cmd: docker compose exec govcms bash
composer:
usage: Start a composer command.
cmd: docker compose exec govcms composer "$@"
rector:
usage: Analyze your code with Rector and review suggested changes.
cmd: docker compose exec govcms rector "$@"
phpunit:
usage: Run PHPUnit tests.
cmd: docker compose exec govcms sudo -u root -E sudo -u www-data -E /app/bin/phpunit "$@"
drupal-check:
usage: Static analysis tool to check for correctness and deprecation errors.
cmd: docker compose exec govcms drupal-check "$@"