Skip to content

Commit

Permalink
support FreeBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
swills committed Jan 22, 2021
1 parent f96cb41 commit dbb0659
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Expand Up @@ -56,6 +56,7 @@ server:
ifneq ($(HAS_SERVER),)
mkdir -p server/dist;
cd server && env GOOS=linux GOARCH=amd64 $(GO) build $(GO_BUILD_FLAGS) -o dist/plugin-linux-amd64;
cd server && env GOOS=freebsd GOARCH=amd64 $(GO) build $(GO_BUILD_FLAGS) -o dist/plugin-freebsd-amd64;
cd server && env GOOS=darwin GOARCH=amd64 $(GO) build $(GO_BUILD_FLAGS) -o dist/plugin-darwin-amd64;
cd server && env GOOS=windows GOARCH=amd64 $(GO) build $(GO_BUILD_FLAGS) -o dist/plugin-windows-amd64.exe;
endif
Expand Down
1 change: 1 addition & 0 deletions plugin.json
Expand Up @@ -11,6 +11,7 @@
"server": {
"executables": {
"linux-amd64": "server/dist/plugin-linux-amd64",
"freebsd-amd64": "server/dist/plugin-freebsd-amd64",
"darwin-amd64": "server/dist/plugin-darwin-amd64",
"windows-amd64": "server/dist/plugin-windows-amd64.exe"
},
Expand Down

0 comments on commit dbb0659

Please sign in to comment.