Skip to content

A tool to make building Go applications for multiple platforms easier

License

Notifications You must be signed in to change notification settings

voidwyrm-2/distra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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]

About

A tool to make building Go applications for multiple platforms easier

Resources

License

Stars

Watchers

Forks

Packages

No packages published