Simon Vieille
c9665b33b3
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
14 lines
361 B
Makefile
14 lines
361 B
Makefile
.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
|
|
|
|
.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"
|