Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

freebsd compatibility #243

Open
jostreff opened this issue Nov 18, 2021 · 0 comments
Open

freebsd compatibility #243

jostreff opened this issue Nov 18, 2021 · 0 comments

Comments

@jostreff
Copy link

jostreff commented Nov 18, 2021

Dear Developers,

please add FreeBSD also as possible build targets of the plugin. I have building myself changing only 2 files in your source - Makefile and plugin.json to make custom build of the plugin for my self hosted mattermost community running on FreeBSD13.

My changes are:

        mkdir -p server/dist;
++        cd server && env GOOS=freebsd GOARCH=amd64 $(GO) build $(GO_BUILD_FLAGS) -o dist/plugin-free
bsd-amd64;
        cd server && env GOOS=linux GOARCH=amd64 $(GO) build $(GO_BUILD_FLAGS) -o dist/plugin-linux-
amd64;

    "server": {
        "executables": {
++            "freebsd-amd64": "server/dist/plugin-freebsd-amd64",
            "linux-amd64": "server/dist/plugin-linux-amd64",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant