refactor: move nebula assets to hway build directory
This commit is contained in:
1 parent
a3edb65613
commit
5df9d4a3e5
7 files changed
+115
-213
No files matched your search
@@ -311,9 +311,9 @@ gen-pkl:
|
||||
### motr, hway & nebula ###
|
||||
###############################################################################
|
||||
|
||||
.PHONY: build-motr build-hway build-nebula
|
||||
.PHONY: motr-build hway-build nebula-build nebula-copy
|
||||
|
||||
hway-build: gen-templ
|
||||
hway-build: nebula-build nebula-copy gen-templ
|
||||
@echo "(motr) Building Highway gateway"
|
||||
GOOS=js GOARCH=wasm go build -o ./cmd/hway/build/app.wasm ./cmd/hway/server.go
|
||||
|
||||
@@ -329,6 +329,10 @@ nebula-build:
|
||||
@echo "(nebula) Building nebula"
|
||||
cd pkg/nebula && bun install && bun run build
|
||||
|
||||
nebula-copy:
|
||||
@echo "(nebula) Copying assets to hway"
|
||||
cp -r pkg/nebula/assets/js pkg/nebula/assets/css cmd/hway/build
|
||||
|
||||
|
||||
###############################################################################
|
||||
### help ###
|
||||
|
||||
Reference in new issue
Block a user