diff --git a/README.md b/README.md index 54ada0d5186f02fb15a2c4f9617ca7f37e3032f8..aa309bb08e80cf66de315b2135dbc34ba4914bb3 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 ```