Skip to content
This repository was archived by the owner on Oct 30, 2025. It is now read-only.

Commit 54a21f9

Browse files
committed
all: use go tool brio-gen
Signed-off-by: Sebastien Binet <[email protected]>
1 parent 7dc9fd2 commit 54a21f9

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

hbook/hbook.go

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,10 @@ import (
1010

1111
//go:generate go tool github.com/campoy/embedmd -w README.md
1212

13-
//go:generate -command brio-gen go run go-hep.org/x/hep/brio/cmd/brio-gen
14-
//go:generate brio-gen -p go-hep.org/x/hep/hbook -t Dist0D,Dist1D,Dist2D -o dist_brio.go
15-
//go:generate brio-gen -p go-hep.org/x/hep/hbook -t Range,Binning1D,binningP1D,Bin1D,BinP1D,Binning2D,Bin2D -o binning_brio.go
16-
//go:generate brio-gen -p go-hep.org/x/hep/hbook -t Point2D -o points_brio.go
17-
//go:generate brio-gen -p go-hep.org/x/hep/hbook -t H1D,H2D,P1D,S2D -o hbook_brio.go
13+
//go:generate go tool go-hep.org/x/hep/brio/cmd/brio-gen -p go-hep.org/x/hep/hbook -t Dist0D,Dist1D,Dist2D -o dist_brio.go
14+
//go:generate go tool go-hep.org/x/hep/brio/cmd/brio-gen -p go-hep.org/x/hep/hbook -t Range,Binning1D,binningP1D,Bin1D,BinP1D,Binning2D,Bin2D -o binning_brio.go
15+
//go:generate go tool go-hep.org/x/hep/brio/cmd/brio-gen -p go-hep.org/x/hep/hbook -t Point2D -o points_brio.go
16+
//go:generate go tool go-hep.org/x/hep/brio/cmd/brio-gen -p go-hep.org/x/hep/hbook -t H1D,H2D,P1D,S2D -o hbook_brio.go
1817

1918
// Bin models 1D, 2D, ... bins.
2019
type Bin interface {

0 commit comments

Comments
 (0)