gopher-build-all

module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2021 License: Unlicense

README

gopher-build-all

Create all possible binaries of a project in go

ChangeLog

0.0.2

Flags

  • bin-folder-name ─ With this flag you can rename the output directory.

  • bin-name ─ binary-name renamed to bin-name.

  • only-systems ─ only-in renamed to only-systems.

  • sub-folder ─ A folder is created where the binary is saved.

0.0.1

First release.

Install

Go 1.17+

$ go install github.com/FlamesX-128/gopher-builds-all@latest

Flags

You can alter a few things when creating the binaries.

bin-folder-name

  • description: ─ The name of the folder where the binaries will be placed.

  • defaultbin

  • usage:-bin-folder-name="dist"

bin-name

  • description: ─ Name given to the binary.

  • defaultmain

  • usage:-bin-name="gopher-build-all"

max-goruntines

  • description: ─ Used to indicate the maximum number of goroutines.

  • default3

  • usage:-max-goruntines=5

only-systems

  • description: ─ Used to indicate to only build on specific operating systems.

  • default"" All possible systems

  • usage:-only-systems="linux windows"

project-directory

  • description: ─ It is used to indicate which is the project path.

  • default"" The path where it was called

  • usage:-project-directory="/home/User/go/github.com/User/gopher-build-all/" in linux

sub-folder

  • description: ─ It is used to indicate if a sub folder should be created for the file.

  • defaulttrue

  • usage:-sub-folder=true

Directories

Path Synopsis
src

Jump to

Keyboard shortcuts

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