Skip to content

Commit 3935129

Browse files
v0.2.4
1 parent 1dcea6c commit 3935129

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,12 @@ IPScope output is:
8888
### Compile from source:
8989
- 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.
9090
- This assumes you have Go and Git installed
91-
- `git clone https://github.com/cyclone-github/ipscope.git`
92-
- `cd ipscope`
93-
- `go mod init ipscope`
94-
- `go mod tidy`
95-
- `go build -ldflags="-s -w" .`
91+
- `git clone https://github.com/cyclone-github/ipscope.git` # clone repo
92+
- `cd ipscope` # enter project directory
93+
- `go mod init ipscope` # initialize Go module (skips if go.mod exists)
94+
- `go mod tidy` # download dependencies
95+
- `go build -ldflags="-s -w" .` # compile binary in current directory
96+
- `go install -ldflags="-s -w" .` # compile binary and install to $GOPATH
9697
- Compile from source code how-to:
9798
- https://github.com/cyclone-github/scripts/blob/main/intro_to_go.txt
9899
### Changelog:

go.mod

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

3-
go 1.23.4
3+
go 1.24.1

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,4 +216,4 @@ func main() {
216216
}
217217
}
218218
}
219-
}
219+
}

utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,4 +288,4 @@ Supported flags:
288288
-help (usage instructions)
289289
-version (version info)`
290290
fmt.Fprintln(os.Stderr, str)
291-
}
291+
}

0 commit comments

Comments
 (0)