Skip to content

Commit

Permalink
fix: remove go-bindata module dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
JanDeDobbeleer committed Dec 25, 2020
1 parent 0e5e65d commit bea4799
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/code.yml
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Bundle init scripts
run: |
go get -u github.com/kevinburke/go-bindata/...
go-bindata -o init.go init/
go generate
- name: Golang CI
uses: golangci/golangci-lint-action@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Expand Up @@ -69,7 +69,7 @@ jobs:
- name: Bundle init scripts
run: |
go get -u github.com/kevinburke/go-bindata/...
go-bindata -o init.go init/
go generate
- name: Build
id: build
run: go build -o ${{ matrix.ARTIFACT }} -ldflags="-X 'main.Version=${{ needs.release.outputs.version }}'"
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/contributing-segment.md
Expand Up @@ -74,7 +74,7 @@ First, we need to package the init scripts:

```shell
go get -u github.com/kevinburke/go-bindata/...
go-bindata -o init.go init/
go generate
```

Next, build the app and validate the changes:
Expand Down
1 change: 0 additions & 1 deletion go.mod
Expand Up @@ -10,7 +10,6 @@ require (
github.com/distatus/battery v0.10.1-0.20200722221337-7e1bf2bbb15c
github.com/go-ole/go-ole v1.2.4 // indirect
github.com/gookit/color v1.3.1
github.com/kevinburke/go-bindata v3.22.0+incompatible // indirect
github.com/mattn/go-isatty v0.0.12 // indirect
github.com/sergi/go-diff v1.1.0 // indirect
github.com/shirou/gopsutil v2.20.9+incompatible
Expand Down
2 changes: 0 additions & 2 deletions go.sum
Expand Up @@ -16,8 +16,6 @@ github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs
github.com/go-ole/go-ole v1.2.4 h1:nNBDSCOigTSiarFpYE9J/KtEA1IOW4CNeqT9TQDqCxI=
github.com/go-ole/go-ole v1.2.4/go.mod h1:XCwSNxSkXRo4vlyPy93sltvi/qJq0jqQhjqQNIwKuxM=
github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI=
github.com/kevinburke/go-bindata v3.22.0+incompatible h1:/JmqEhIWQ7GRScV0WjX/0tqBrC5D21ALg0H0U/KZ/ts=
github.com/kevinburke/go-bindata v3.22.0+incompatible/go.mod h1:/pEEZ72flUW2p0yi30bslSp9YqD9pysLxunQDdb2CPM=
github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI=
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
Expand Down
2 changes: 2 additions & 0 deletions main.go
@@ -1,3 +1,5 @@
//go:generate go-bindata -o init.go init/

package main

import (
Expand Down

0 comments on commit bea4799

Please sign in to comment.