-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
27 lines (19 loc) · 808 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
CUR_DIR = $(CURDIR)
CONTAINER_NAME = app-citations-papillotes
install:
docker build . -t $(CONTAINER_NAME) -f Dockerfile
docker run -it --rm -w /app -v $(CUR_DIR):/app $(CONTAINER_NAME) npm install --force
build:
docker run -it --rm -w /app -v $(CUR_DIR):/app $(CONTAINER_NAME) npm run build
lint-fix:
docker run -it --rm -w /app -v $(CUR_DIR):/app $(CONTAINER_NAME) npm run lint -- --fix
lint:
docker run -it --rm -w /app -v $(CUR_DIR):/app $(CONTAINER_NAME) npm run lint
test:
docker run -it --rm -w /app -p 9876:9876 -v $(CUR_DIR):/app $(CONTAINER_NAME) npm run test
e2e:
docker run -it --rm -w /app -v $(CUR_DIR):/app $(CONTAINER_NAME) npx playwright test
start:
docker run -it --rm -w /app -p 4200:4200 -v $(CUR_DIR):/app $(CONTAINER_NAME) npm run start
clean:
rm -rf .angular/cache/*