-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
35 lines (29 loc) · 977 Bytes
/
Makefile
File metadata and controls
35 lines (29 loc) · 977 Bytes
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
.PHONY: help build build-exapp test test-unit dev clean
help:
@echo "Available targets:"
@echo " build - Build frontend assets"
@echo " build-exapp - Build ExApp Docker image"
@echo " test - Run Playwright tests"
@echo " test-unit - Run PHPUnit tests"
@echo " dev - Start development environment"
@echo " clean - Clean build artifacts"
build:
npm install
npm run build
build-exapp:
docker build -f ex_app/Dockerfile -t files_pointcloudviewer:latest .
test:
docker-compose -f docker/docker-compose.yml up -d
npx playwright install
npx playwright test --headed=false
docker-compose -f docker/docker-compose.yml down
dev:
docker-compose -f docker/docker-compose.yml up -d
@echo "Nextcloud available at http://localhost:8080"
@echo "ExApp available at http://localhost:8081"
@echo "Login: admin / admin"
clean:
rm -rf js/
rm -rf node_modules/
rm -rf ex_app/lib/main
docker-compose -f docker/docker-compose.yml down -v