add static analysis action
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user