add static analysis action
Static Analysis -- Golang / lint-check (push) Successful in 18s
Code Style -- Web Components / lint-check (push) Successful in 13s

This commit is contained in:
alu
2026-07-29 22:42:33 +00:00
parent ce1576fbd6
commit e8fd120ead
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