v0.2.1: Support for more platforms added

This commit is contained in:
Winni Neessen 2021-03-19 08:40:48 +01:00
parent dfa8eda0bd
commit 14f26c4816
Signed by: wneessen
GPG key ID: 385AC9889632126E
2 changed files with 7 additions and 2 deletions

View file

@ -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
View file

@ -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"