forked from silinternational/simplesamlphp-module-mfa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
39 lines (28 loc) · 1.05 KB
/
Makefile
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
# Set up the default (i.e. - first) make entry.
start: web
bash:
docker-compose run --rm mfaidp bash
bashtests:
docker-compose run --rm tests bash
behat:
docker-compose run --rm tests bash -c "vendor/bin/behat --config=features/behat.yml --strict --stop-on-failure --append-snippets"
clean:
docker-compose kill
docker system prune -f
composer:
docker-compose run --rm composer bash -c "composer install --no-scripts"
composerupdate:
docker-compose run --rm composer bash -c "composer update --no-scripts"
enabledebug:
docker-compose exec mfaidp bash -c "/data/enable-debug.sh"
ps:
docker-compose ps
test: composer web
@echo -------------------------------------------------------------------
@echo Bringing up mfaidp takes a long time due to composer.
@echo After this, you can use \"make behat\" to run the tests more quickly.
@echo -------------------------------------------------------------------
sleep 200 # Give composer time to install any new dependencies of this project
make behat
web:
docker-compose up -d mfaidp mfasp mfapwmanager