File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,9 @@ GOGET=$(GOCMD) get
88
99DIRS =` go list ./... `
1010
11+ PYTHON =python3
12+ PIP =$(PYTHON ) -m pip
13+
1114all : build
1215
1316build :
@@ -46,6 +49,16 @@ gopath-update: export GO111MODULE = off
4649gopath-update :
4750 @echo " GO111MODULE = $( value GO111MODULE) "
4851 go get -u ./...
52+
53+ prereq :
54+ @echo " Installing python prerequisites -- ignore err if already installed:"
55+ - $(PIP ) install -r requirements.txt
56+ @echo
57+ @echo " if this fails, you may see errors like this:"
58+ @echo " Undefined symbols for architecture x86_64:"
59+ @echo " _PyInit__gi, referenced from:..."
60+ @echo
61+
4962
5063# NOTE: MUST update version number here prior to running 'make release' and edit this file!
5164VERS =v0.4.7
Original file line number Diff line number Diff line change @@ -4,9 +4,12 @@ github.com/gonuts/flag v0.1.0 h1:fqMv/MZ+oNGu0i9gp0/IQ/ZaPIDoAZBOBaJoV7viCWM=
44github.com/gonuts/flag v0.1.0 /go.mod h1:ZTmTGtrSPejTo/SRNhCqwLTmiAgyBdCkLYhHrAoBdz4 =
55github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4 =
66github.com/pkg/errors v0.9.1 /go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0 =
7+ github.com/yuin/goldmark v1.4.13 /go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY =
78golang.org/x/mod v0.9.0 h1:KENHtAZL2y3NLMYZeHY9DW8HW8V+kQyJsY/V9JlKvCs =
89golang.org/x/mod v0.9.0 /go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs =
10+ golang.org/x/net v0.8.0 /go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc =
911golang.org/x/sync v0.1.0 h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o =
12+ golang.org/x/sync v0.1.0 /go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM =
1013golang.org/x/sys v0.6.0 h1:MVltZSvRTcU2ljQOhs94SXPftV6DCNnZViHeQps87pQ =
1114golang.org/x/sys v0.6.0 /go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg =
1215golang.org/x/tools v0.7.0 h1:W4OVu8VVOaIO0yzWMNdepAulS7YfoS3Zabrm8DOXXU4 =
You can’t perform that action at this time.
0 commit comments