forked from OpenSlides/openslides-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
31 lines (23 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
build-dev:
docker build -t openslides-client-dev -f Dockerfile.dev .
build-prod:
docker build -t openslides-client -f Dockerfile .
run-dev: | build-dev
docker run -ti -v `pwd`/client:/app -p 127.0.0.1:9001:9001/tcp openslides-client-dev
run-dev-interactive: | build-dev
docker run -ti -v `pwd`/client:/app -p 127.0.0.1:9001:9001/tcp openslides-client-dev sh
run-cleanup: | build-dev
docker run -t -v `pwd`/client:/app openslides-client-dev npm run cleanup
run-tests: | build-dev
docker run -t openslides-client-dev npm run lint
docker run -t openslides-client-dev npm run prettify-check
# TODO: Get the karma tests up and running
# docker run -t openslides-client-dev npm run test-silently
docker run -t openslides-client-dev npm run build-debug
run-check-linting:
docker run -t openslides-client-dev npm run lint
run-check-prettifying:
docker run -t openslides-client-dev npm run prettify-check
run-cypress:
docker-compose -f client/tests/integration/docker-compose.test.yml build
docker-compose -f client/tests/integration/docker-compose.test.yml up