mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-03 09:51:39 +00:00
refactor: move nebula assets to hway build directory
This commit is contained in:
@@ -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