mirror of
https://github.com/fankes/beszel.git
synced 2025-10-18 09:19:27 +08:00
update makefile with proper site src path
This commit is contained in:
2
Makefile
2
Makefile
@@ -60,7 +60,7 @@ build-hub-dev: tidy
|
|||||||
build: build-agent build-hub
|
build: build-agent build-hub
|
||||||
|
|
||||||
generate-locales:
|
generate-locales:
|
||||||
@if [ ! -f ./internal/site/internal/locales/en/en.ts ]; then \
|
@if [ ! -f ./internal/site/src/locales/en/en.ts ]; then \
|
||||||
echo "Generating locales..."; \
|
echo "Generating locales..."; \
|
||||||
command -v bun >/dev/null 2>&1 && cd ./internal/site && bun install && bun run sync || cd ./internal/site && npm install && npm run sync; \
|
command -v bun >/dev/null 2>&1 && cd ./internal/site && bun install && bun run sync || cd ./internal/site && npm install && npm run sync; \
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user