File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ DOCKER ?= $(shell which docker 2>/dev/null)
44WASMBUILD ?= $(shell which wasmbuild 2>/dev/null)
55BUILDDIR ?= build
66CMDDIR =$(wildcard cmd/* )
7- WASMDIR =$(wildcard wasm/* )
87
98# Set OS and Architecture
109ARCH ?= $(shell arch | tr A-Z a-z | sed 's/x86_64/amd64/' | sed 's/i386/amd64/' | sed 's/armv7l/arm/' | sed 's/aarch64/arm64/')
@@ -35,17 +34,10 @@ $(CMDDIR): go-dep mkdir
3534 @rm -rf ${BUILDDIR} /$(shell basename $@ )
3635 @$(GO ) build -tags frontend $(BUILD_FLAGS ) -o ${BUILDDIR} /$(shell basename $@ ) ./$@
3736
38- # Rules for building WASM (kept for standalone wasm builds)
39- .PHONY : $(WASMDIR )
40- $(WASMDIR ) : go-dep wasmbuild-dep tidy mkdir
41- @echo ' wasmbuild $@'
42- @${WASMBUILD} build --go-flags=' $(BUILD_FLAGS)' -o ${BUILDDIR} /wasm/$(shell basename $@ ) ./$@ && \
43- mv ${BUILDDIR} /wasm/$(shell basename $@ ) /wasm_exec.html ${BUILDDIR} /wasm/$(shell basename $@ ) /index.html
44-
4537# Build pgmanager with embedded frontend
4638.PHONY : pgmanager
4739pgmanager : go-dep wasmbuild-dep tidy mkdir
48- @echo ' generate frontend'
40+ @echo ' go generate frontend'
4941 @$(GO ) generate -tags frontend ./pkg/manager/httphandler/...
5042 @echo ' go build cmd/pgmanager'
5143 @$(GO ) build -tags frontend $(BUILD_FLAGS ) -o ${BUILDDIR} /pgmanager ./cmd/pgmanager
You can’t perform that action at this time.
0 commit comments