-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
33 lines (25 loc) · 996 Bytes
/
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
hub: clean deps jsdeps
docker compose up -d ssp-hub.local
clean:
docker compose kill
docker compose rm -f
deps:
docker compose run --rm composer bash -c "composer install --no-scripts --no-progress"
depsupdate:
docker compose run --rm composer bash -c "./update-composer-deps.sh"
test:
docker compose run --rm ssp-hub.local ./run-metadata-tests.sh
docker compose run --rm ssp-idp1.local ./run-metadata-tests.sh
docker compose run --rm ssp-sp1.local ./run-metadata-tests.sh
docker compose run --rm test
test-integration:
docker compose run --rm test ./run-integration-tests.sh
copyJsLib:
cp ./node_modules/@simplewebauthn/browser/dist/bundle/index.umd.min.js ./modules/mfa/public/simplewebauthn/browser.js
cp ./node_modules/@simplewebauthn/browser/LICENSE.md ./modules/mfa/public/simplewebauthn/LICENSE.md
jsdeps:
docker compose run --rm node npm install --ignore-scripts
make copyJsLib
jsdepsupdate:
docker compose run --rm node npm update --ignore-scripts
make copyJsLib