distra

command module
v0.0.0-...-b396e67 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2025 License: MIT Imports: 16 Imported by: 0

README

Distra

An application to make it easier to build Go executables of multiple platforms for use in GitHub releases or similar

Installation

You can install Distra with either go install github.com/voidwyrm-2/distra@latest or from the releases

Usage

Distra requires Go to be installed

Note: on Windows, you have to use Subsystem Linux

Flags

  • listos: lists all available operating systems that can be built for

    example: distra --listos

  • listarch: lists all available architectures that can be built with for the given operating systems

    example: distra --listarch linux --listarch windows

  • OS flags: auto-generated flags which correspond to each operating systems that can be built for

    example: distra --windows amd64 --windows arm --linux arm --js wasm

Distrafile

Distrafile is a Makefile-like system for easier project building

Each Distrafile looks like this

windows/amd64
windows/arm
linux/arm
js/wasm
...

Each line has a OS and architecture target in the format [os]/[arch]

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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