build2

command
v2.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 15, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Overview

Package build2 builds the distributable software. This builds the binary and gathers other files into a directory, then zips the directory up for easy distributing.

This works off of GOPATH! This was necessary to have a consistent "base" path to use to find the resourced noted in the config file to build or include in a distribution.

Note the 0777 permission on MkdirAll and Write. This is needed to get building to work properly on MacOS. If 0755 permissions are used, "permission denied" errors occur when reading created files. I am sure there is a fix for this, or setting permissions to 0777 in only certain places, but I didn't want to figure this out.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL