fix: 🔨 make dev stage app independant
This commit is contained in:
parent
a3879021e4
commit
b7e114f131
10
Makefile
10
Makefile
@ -159,11 +159,11 @@ appstore:
|
||||
# Start a nextcloud server on Docker to kickstart developement
|
||||
.PHONY: dev
|
||||
dev: build
|
||||
docker stop repod || true
|
||||
docker rm repod || true
|
||||
docker build -t repod .
|
||||
docker run -itd --rm --name repod -v $(CURDIR):/var/www/html/apps/repod -p 80:80 repod
|
||||
npm run watch
|
||||
docker stop $(app_name) || true
|
||||
docker rm $(app_name) || true
|
||||
docker build -t $(app_name) .
|
||||
docker run -itd --rm --name $(app_name) -v $(CURDIR):/var/www/html/apps/$(app_name) -p 80:80 $(app_name)
|
||||
npm run watch || docker stop $(app_name)
|
||||
|
||||
# Generate translations
|
||||
.PHONY: l10n
|
||||
|
@ -2,7 +2,7 @@
|
||||
"name": "repod",
|
||||
"license": "AGPL-3.0-or-later",
|
||||
"scripts": {
|
||||
"build": "vue-tsc && vite build",
|
||||
"build": "vite build",
|
||||
"dev": "vite --mode development build",
|
||||
"watch": "vite --mode development build --watch",
|
||||
"lint": "vue-tsc && eslint src",
|
||||
|
Loading…
Reference in New Issue
Block a user