Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Acme Downloader
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Geant DevOps
Acme Downloader
Commits
a7908c7f
Unverified
Commit
a7908c7f
authored
4 years ago
by
Massimiliano Adamo
Browse files
Options
Downloads
Patches
Plain Diff
fixed README
parent
6ca741a4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+5
-22
5 additions, 22 deletions
README.md
with
5 additions
and
22 deletions
README.md
+
5
−
22
View file @
a7908c7f
...
...
@@ -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
```
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment