debug backend plugin

This commit is contained in:
Alexander Zobnin
2020-01-14 13:16:40 +03:00
parent 3f5719794a
commit 94cdf10989
3 changed files with 48 additions and 0 deletions

View File

@@ -13,6 +13,8 @@ build-frontend:
yarn dev-build
build-backend:
env GOOS=linux go build -mod=vendor -o ./dist/zabbix-plugin_linux_amd64 ./pkg
build-debug:
env GOOS=linux go build -mod=vendor -gcflags=all="-N -l" -o ./dist/zabbix-plugin_linux_amd64 ./pkg
dist: dist-frontend dist-backend
dist-frontend: