Mattermost, Inc.

Building new linux package

Hi

I have some problems building new package of mattermost. I have tried to follow these https://docs.mattermost.com/developer/developer-setup.html instructions but i have no idea how I should build production package?

make run works fine, i can see my local modifications in web browser. However, when i write for instance

“make package” everything will fail?
cp /Users/zinith/go/bin/darwin_amd64/platform dist/mattermost/bin
cp: /Users/zinith/go/bin/darwin_amd64/platform: No such file or directory
make: *** [package] Error 1

What is the correct process to build linux package in mac?

Hi zetab,

Are you trying to build the latest master? It’s only recently that we supported making packages on any platform other than linux. You can still run make run on any platform though. Does that work for you?