Skip to content

Commit fc77803

Browse files
committed
Use Go 1.24 tool syntax
1 parent b4e5907 commit fc77803

File tree

9 files changed

+24
-12
lines changed

9 files changed

+24
-12
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.9.48
1+
1.9.49

c/doc/Doxyfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ PROJECT_NAME = FarmHash64
3838
# could be handy for archiving the generated documentation or if some version
3939
# control system is used.
4040

41-
PROJECT_NUMBER = 1.9.48
41+
PROJECT_NUMBER = 1.9.49
4242

4343
# Using the PROJECT_BRIEF tag one can provide an optional one line description
4444
# for a project that appears at the top of each page and should give viewer a

cgo/Makefile

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ coverage: ensuretarget
114114
.PHONY: deps
115115
deps: ensuretarget
116116
curl --silent --show-error --fail --location https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(BINUTIL) $(GOLANGCILINTVERSION)
117-
$(GO) install github.com/jstemmer/go-junit-report/v2@latest
118117

119118
# Create the trget directories if missing
120119
.PHONY: ensuretarget
@@ -141,7 +140,7 @@ linter:
141140
$(GOLANGCILINT) run $(SRCDIR)/...
142141

143142
.PHONY: mod
144-
mod:
143+
mod: gotools
145144
$(GO) mod download all
146145

147146
# Run all tests and static analysis tools
@@ -163,6 +162,11 @@ test: ensuretarget
163162
-v $(SRCDIR) $(TESTEXTRACMD)
164163
@echo -e "\n\n>>> END: Unit Tests <<<\n\n"
165164

165+
# Get the go tools
166+
.PHONY: gotools
167+
gotools:
168+
$(GO) get -tool github.com/jstemmer/go-junit-report/v2@latest
169+
166170
# Update everything
167171
.PHONY: updateall
168172
updateall: updatego updatelint updatemod
@@ -184,4 +188,5 @@ updatelint:
184188
# Update dependencies
185189
.PHONY: updatemod
186190
updatemod:
187-
$(GO) get -t -u ./... && go mod tidy -compat=$(shell grep -oP 'go \K[0-9]+\.[0-9]+' ../go.mod)
191+
$(GO) get -t -u ./... && \
192+
$(GO) mod tidy -compat=$(shell grep -oP 'go \K[0-9]+\.[0-9]+' ../go.mod)

go.mod

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ go 1.25
55
toolchain go1.25.0
66

77
require github.com/jstemmer/go-junit-report/v2 v2.1.0
8+
9+
tool github.com/jstemmer/go-junit-report/v2

go/Makefile

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ coverage: ensuretarget
114114
.PHONY: deps
115115
deps: ensuretarget
116116
curl --silent --show-error --fail --location https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(BINUTIL) $(GOLANGCILINTVERSION)
117-
$(GO) install github.com/jstemmer/go-junit-report/v2@latest
118117

119118
# Create the trget directories if missing
120119
.PHONY: ensuretarget
@@ -141,7 +140,7 @@ linter:
141140
$(GOLANGCILINT) run $(SRCDIR)/...
142141

143142
.PHONY: mod
144-
mod:
143+
mod: gotools
145144
$(GO) mod download all
146145

147146
# Run all tests and static analysis tools
@@ -163,6 +162,11 @@ test: ensuretarget
163162
-v $(SRCDIR) $(TESTEXTRACMD)
164163
@echo -e "\n\n>>> END: Unit Tests <<<\n\n"
165164

165+
# Get the go tools
166+
.PHONY: gotools
167+
gotools:
168+
$(GO) get -tool github.com/jstemmer/go-junit-report/v2@latest
169+
166170
# Update everything
167171
.PHONY: updateall
168172
updateall: updatego updatelint updatemod
@@ -184,4 +188,5 @@ updatelint:
184188
# Update dependencies
185189
.PHONY: updatemod
186190
updatemod:
187-
$(GO) get -t -u ./... && go mod tidy -compat=$(shell grep -oP 'go \K[0-9]+\.[0-9]+' ../go.mod)
191+
$(GO) get -t -u ./... && \
192+
$(GO) mod tidy -compat=$(shell grep -oP 'go \K[0-9]+\.[0-9]+' ../go.mod)

python/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def run(self):
3030

3131
setup(
3232
name="farmhash64",
33-
version="1.9.48.0",
33+
version="1.9.49.0",
3434
keywords=("farmhash64"),
3535
description="farmhash64 Bindings for Python",
3636
long_description=read("../README.md"),

r/farmhash64/DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: farmhash64
22
Title: farmhash64
3-
Version: 1.9.48.0
3+
Version: 1.9.49.0
44
Authors@R: person("Nicola", "Asuni", email = "info@tecnick.com", role = c("aut", "cre"))
55
Description: FarmHash64 is a 64-bit fingerprint hash function that produces a hash value for a given string.
66
It is designed to be fast and provide good hash distribution but is not suitable for cryptography applications.

rust/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "farmhash64"
3-
version = "1.9.48"
3+
version = "1.9.49"
44
edition = "2021"
55

66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

zig/build.zig.zon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.{
22
.name = "farmhash64",
3-
.version = "1.9.48",
3+
.version = "1.9.49",
44
.paths = .{""},
55
.dependencies = .{},
66
}

0 commit comments

Comments
 (0)