We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfd30bc commit 4853b9dCopy full SHA for 4853b9d
Makefile
@@ -14,7 +14,11 @@ build-plugins:
14
mkdir -p bin
15
for p in $$( cd ./external/plugins && ls ); do \
16
echo "Building plugin $$p"; \
17
- go build -tags lambda.norpc -ldflags "-X main.Version=$(VERSION)" -o ./bin/plugin-$$p ./external/plugins/$$p; \
+ if [ "$(shell go env GOOS)" = "windows" ]; then \
18
+ go build -tags lambda.norpc -ldflags "-X main.Version=$(VERSION)" -o ./bin/plugin-$$p.exe ./external/plugins/$$p; \
19
+ else \
20
+ go build -tags lambda.norpc -ldflags "-X main.Version=$(VERSION)" -o ./bin/plugin-$$p ./external/plugins/$$p; \
21
+ fi; \
22
done
23
24
.PHONY: fmt
0 commit comments