Skip to content

Commit 809ab14

Browse files
update README, go v1.24.3
1 parent ed12043 commit 809ab14

2 files changed

Lines changed: 8 additions & 7 deletions

File tree

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,11 @@
2121
### Compile from source:
2222
- If you want the latest features, compiling from source is the best option since the release version may run several revisions behind the source code.
2323
- This assumes you have Go and Git installed
24-
- `git clone https://github.com/cyclone-github/container_truncator.git`
25-
- `cd container_truncator`
26-
- `go mod init container_truncator`
27-
- `go mod tidy`
28-
- `go build -ldflags="-s -w" .`
24+
- `git clone https://github.com/cyclone-github/container_truncator.git` # clone repo
25+
- `cd container_truncator` # enter project directory
26+
- `go mod init container_truncator` # initialize Go module (skips if go.mod exists)
27+
- `go mod tidy` # download dependencies
28+
- `go build -ldflags="-s -w" .` # compile binary in current directory
29+
- `go install -ldflags="-s -w" .` # compile binary and install to $GOPATH
2930
- Compile from source code how-to:
30-
- https://github.com/cyclone-github/scripts/blob/main/intro_to_go.txt
31+
- https://github.com/cyclone-github/scripts/blob/main/intro_to_go.txt

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module container_truncator
22

3-
go 1.22.4
3+
go 1.24.3

0 commit comments

Comments
 (0)