fix makefile

This commit is contained in:
Michel Roux 2024-11-19 20:04:43 +00:00
parent 3246e051f9
commit 77c3e5d2b7

View File

@ -124,10 +124,10 @@ appstore:
# Start a nextcloud server on Docker to kickstart developement # Start a nextcloud server on Docker to kickstart developement
.PHONY: dev .PHONY: dev
dev: build dev: build
docker stop $(app_template) || true docker stop $(app_name) || true
docker rm $(app_template) || true docker rm $(app_name) || true
docker build -t $(app_template) . docker build -t $(app_name) .
docker run -itd --rm --name $(app_template) -v $(CURDIR):/var/www/html/apps/app_template -p 80:80 $(app_template) docker run -itd --rm --name $(app_name) -v $(CURDIR):/var/www/html/apps/$(app_name) -p 80:80 $(app_name)
npm run watch npm run watch
# Generate translations # Generate translations