mirror of
https://github.com/thomiceli/opengist.git
synced 2025-06-24 02:28:02 +02:00
chore: use npx (#66)
Signed-off-by: jolheiser <john.olheiser@gmail.com>
This commit is contained in:
6
Makefile
6
Makefile
@ -13,7 +13,7 @@ install:
|
|||||||
|
|
||||||
build_frontend:
|
build_frontend:
|
||||||
@echo "Building frontend assets..."
|
@echo "Building frontend assets..."
|
||||||
./node_modules/.bin/vite build
|
npx vite build
|
||||||
|
|
||||||
build_backend:
|
build_backend:
|
||||||
@echo "Building Opengist binary..."
|
@echo "Building Opengist binary..."
|
||||||
@ -27,11 +27,11 @@ build_docker:
|
|||||||
|
|
||||||
watch_frontend:
|
watch_frontend:
|
||||||
@echo "Building frontend assets..."
|
@echo "Building frontend assets..."
|
||||||
./node_modules/.bin/vite dev --port 16157
|
npx vite dev --port 16157
|
||||||
|
|
||||||
watch_backend:
|
watch_backend:
|
||||||
@echo "Building Opengist binary..."
|
@echo "Building Opengist binary..."
|
||||||
OG_DEV=1 ./node_modules/.bin/nodemon --watch '**/*' -e html,yml,go,js --signal SIGTERM --exec 'go run . --config config.yml'
|
OG_DEV=1 npx nodemon --watch '**/*' -e html,yml,go,js --signal SIGTERM --exec 'go run . --config config.yml'
|
||||||
|
|
||||||
watch:
|
watch:
|
||||||
@bash ./watch.sh
|
@bash ./watch.sh
|
||||||
|
Reference in New Issue
Block a user