-
Notifications
You must be signed in to change notification settings - Fork 0
/
Taskfile.yml
35 lines (30 loc) · 1017 Bytes
/
Taskfile.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
version: '3'
tasks:
composer:
desc: Run Composer, the dependency manager for PHP
cmds:
- |
docker run --rm --interactive --tty \
--env COMPOSER_HOME=/root/.config/composer \
--env COMPOSER_CACHE_DIR=/root/.cache/composer \
--volume ${COMPOSER_HOME:-$HOME/.config/composer}:/root/.config/composer \
--volume ${COMPOSER_CACHE_DIR:-$HOME/.cache/composer}:/root/.cache/composer \
--volume $PWD:/app \
composer {{.CLI_ARGS}}
silent: true
deploy:
desc: Deploy to AWS
cmds:
- serverless deploy
up:
desc: Start the local development environment
cmds:
- docker-compose up
psalm:
desc: Run Psalm, a static analysis tool for PHP
cmds:
- docker-compose run --rm --entrypoint /var/task/vendor/bin/psalm php {{.CLI_ARGS}}
behat:
desc: Run Behat, the Behaviour-Driven-Develpment framework for PHP
cmds:
- docker-compose run --rm --entrypoint /var/task/vendor/bin/behat php {{.CLI_ARGS}}