mirror of
https://github.com/wneessen/apg-go.git
synced 2024-12-23 03:30:39 +01:00
v0.2.1: Support for more platforms added
This commit is contained in:
parent
dfa8eda0bd
commit
14f26c4816
2 changed files with 7 additions and 2 deletions
7
Makefile
7
Makefile
|
@ -2,7 +2,12 @@
|
|||
BINS := apg
|
||||
|
||||
VERSION ?= $(shell grep VersionString apg.go | head -1 | awk '{print $$5}' | sed 's/"//g')
|
||||
ALL_PLATFORMS := darwin/amd64 linux/amd64 linux/arm linux/arm64 linux/ppc64le linux/s390x windows/amd64
|
||||
ALL_PLATFORMS := darwin/amd64 darwin/arm64 \
|
||||
linux/amd64 linux/arm linux/arm64 linux/ppc64le linux/s390x \
|
||||
freebsd/386 freebsd/amd64 freebsd/arm \
|
||||
openbsd/386 openbsd/amd64 openbsd/arm \
|
||||
netbsd/386 netbsd/amd64 netbsd/arm \
|
||||
windows/386 windows/amd64
|
||||
OS := $(if $(GOOS),$(GOOS),$(shell go env GOOS))
|
||||
ARCH := $(if $(GOARCH),$(GOARCH),$(shell go env GOARCH))
|
||||
TAG := $(VERSION)__$(OS)_$(ARCH)
|
||||
|
|
2
apg.go
2
apg.go
|
@ -12,7 +12,7 @@ import (
|
|||
|
||||
// Constants
|
||||
const DefaultPwLenght int = 20
|
||||
const VersionString string = "0.2.0"
|
||||
const VersionString string = "0.2.1"
|
||||
const PwLowerCharsHuman string = "abcdefghjkmnpqrstuvwxyz"
|
||||
const PwUpperCharsHuman string = "ABCDEFGHJKMNPQRSTUVWXYZ"
|
||||
const PwLowerChars string = "abcdefghijklmnopqrstuvwxyz"
|
||||
|
|
Loading…
Reference in a new issue