add wfa-js as submodule, consolidate build process
This commit is contained in:
@@ -1,3 +1,6 @@
|
|||||||
[submodule "proxmoxaas-common-lib"]
|
[submodule "proxmoxaas-common-lib"]
|
||||||
path = proxmoxaas-common-lib
|
path = proxmoxaas-common-lib
|
||||||
url = https://git.tronnet.net/tronnet/proxmoxaas-common-lib
|
url = https://git.tronnet.net/tronnet/proxmoxaas-common-lib
|
||||||
|
[submodule "WFA-JS"]
|
||||||
|
path = WFA-JS
|
||||||
|
url = https://git.tronnet.net/alu/WFA-JS
|
||||||
|
|||||||
@@ -1,11 +1,15 @@
|
|||||||
.PHONY: build test clean
|
.PHONY: build test clean wfa-js
|
||||||
|
|
||||||
build: clean
|
build: clean wfa-js
|
||||||
@echo "======================== Building Binary ======================="
|
@echo "======================== Building Binary ======================="
|
||||||
# resolve symbolic links in web by copying it into dist/web/
|
# resolve symbolic links in web by copying it into dist/web/
|
||||||
cp -rL web/ dist/web/
|
cp -rL web/ dist/web/
|
||||||
CGO_ENABLED=0 go build -tags release -ldflags="-s -w" -v -o dist/ .
|
CGO_ENABLED=0 go build -tags release -ldflags="-s -w" -v -o dist/ .
|
||||||
|
|
||||||
|
wfa-js:
|
||||||
|
$(MAKE) -C WFA-JS
|
||||||
|
cp -f WFA-JS/dist/* web/modules
|
||||||
|
|
||||||
test: clean
|
test: clean
|
||||||
go run .
|
go run .
|
||||||
|
|
||||||
|
|||||||
Submodule
+1
Submodule WFA-JS added at 05cd2d79df
+579
-2
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user