add static analysis action
ProxmoxAAS-Dashboard Go Server Static Analysis / lint-check (push) Successful in 13s
ProxmoxAAS-Dashboard Web Components Code Style / lint-check (push) Successful in 13s

This commit is contained in:
alu
2026-07-29 22:08:38 +00:00
parent ce1576fbd6
commit 5d05a717a0
3 changed files with 51 additions and 27 deletions
+8 -4
View File
@@ -1,13 +1,17 @@
.PHONY: build test clean wfa-js
build: clean build-wfa-js
build: clean ensure-dist build-web build-wfa-js
@echo "======================== Building Binary ======================="
mkdir -p dist
# resolve symbolic links in web by copying it into dist/web/
cp -rL web/ dist/web/
CGO_ENABLED=0 go build -tags release -ldflags="-s -w" -v -o dist/ .
build-wfa-js:
ensure-dist:
mkdir -p dist
build-web: ensure-dist
cp -rL web/ dist/web/
build-wfa-js: ensure-dist
$(MAKE) -C WFA-JS
cp -f WFA-JS/dist/* web/modules