pack

command
v0.8.0-alpha Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2026 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Overview

Command pack writes a release archive (.zip or .tar.gz) of a directory with correct Unix permissions on any build machine. Executables are recognised by their content (ELF, Mach-O, PE, "#!" scripts), because Windows and MSYS cannot record the executable bit for Linux/macOS/FreeBSD binaries.

go run ./scripts/pack <dir> <out.zip|out.tar.gz>

The archive contains <dir>'s base name as its top-level folder.

Jump to

Keyboard shortcuts

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