From a7908c7f2f3fc6c53921385b292911c8a3694512 Mon Sep 17 00:00:00 2001 From: Massimiliano Adamo <massimiliano.adamo@geant.org> Date: Sun, 11 Apr 2021 17:19:26 +0200 Subject: [PATCH] fixed README --- README.md | 27 +++++---------------------- 1 file changed, 5 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index 54ada0d..aa309bb 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,8 @@ Options: --cert-destination=CERTDESTINATION Cert Destination [default: /etc/ssl/certs/<cert-name>.crt] --fullchain-destination=FULLCHAINDESTINATION Full Chain Destination[default: /etc/ssl/certs/<cert-name>_fullchain.crt] --key-destination=KEYDESTINATION Key Destination [default: /etc/ssl/private/<cert-name>.key] - --ca-destination=CADESTINATION CA Destination [default: /etc/ssl/certs/COMODO_<type>.crt]``` + --ca-destination=CADESTINATION CA Destination [default: /etc/ssl/certs/COMODO_<type>.crt] + --wildcard The certificate type is wildcard``` ``` ## compatibility @@ -51,28 +52,10 @@ Debian/RedHat/Arch OS families ## build -### From Linux for Linux +It compiles on several platforms and architectures. -you can use `build.sh` from this repo - -### From Linux for Windows - -```bash -PROG_VERSION="1.0" -BUILDTIME=$(date -u '+%Y-%m-%d_%H:%M:%S') -env GOOS=windows GOARCH=amd64 go build -ldflags "-s -w -X main.appVersion=${PROG_VERSION} -X main.buildTime=${BUILDTIME}" . -``` - -### From Linux for MacOS (not tested) - -```bash -PROG_VERSION="1.0" -BUILDTIME=$(date -u '+%Y-%m-%d_%H:%M:%S') -env GOOS=darwin GOARCH=amd64 go build -ldflags "-s -w -X main.appVersion=${PROG_VERSION} -X main.buildTime=${BUILDTIME}" . -``` - -valud values for GOARC and GOOS can be obtained running the following command: +Please run the script on this repository to check the available options: ```bash -go tool dist list +./build --help ``` -- GitLab