Messaged compilation: Difference between revisions

From Integrics Wiki
Jump to navigation Jump to search
Content deleted Content added
No edit summary
No edit summary
Line 15: Line 15:
Then from the root directory of the git clone you can run <code>make</code>.
Then from the root directory of the git clone you can run <code>make</code>.


If subsequent runs of <code>make</code> don't do anything you can run <code>go build ./cmd/messaged</code> instead.
If subsequent runs of <code>make</code> don't do anything you can run <code>go build cmd/messaged</code> instead.

Revision as of 00:02, 6 June 2023

Installing go

Copy a download link for the latest .linux-amd64.tar.gz from: https://go.dev/dl/

Download it on your development/build machine: wget <download url>

Install into /usr/local: tar -C /usr/local -xvf <file downloaded>

Compiling messaged

The Enswitch messaged program is held in the git repository.

Check out the branch for the Enswitch version you're working on, for example: git checkout -b 4.2 <username>@git.integrics.com:enswitch.

Then from the root directory of the git clone you can run make.

If subsequent runs of make don't do anything you can run go build cmd/messaged instead.