i3-blocks-go/Makefile

14 lines
361 B
Makefile
Raw Normal View History

2022-08-28 14:59:15 +02:00
.ONESHELL:
all:
for i in blocks/*; do
go build -ldflags '-s -w' -v -o "build/$$(basename "$$i")" "$$i/main.go"
done
clean:
rm build/* 2>/dev/null || true
2022-08-30 13:33:58 +02:00
.ONESHELL:
run-code-quality-analysis:
export SONAR_TOKEN="$$SONAR_TOKEN_DEBLAN_I3_BLOCKS_GO"
sonar-scanner -Dsonar.projectKey=deblan-i3-blocks-go -Dsonar.sources=. -Dsonar.host.url="$$SONAR_SERVER"