mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-27 11:59:40 -08:00
fix: remove go-bindata module dependency
This commit is contained in:
parent
0e5e65d9e3
commit
bea4799f9d
2
.github/workflows/code.yml
vendored
2
.github/workflows/code.yml
vendored
|
@ -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:
|
||||
|
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
@ -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 }}'"
|
||||
|
|
|
@ -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:
|
||||
|
|
1
go.mod
1
go.mod
|
@ -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
|
||||
|
|
2
go.sum
2
go.sum
|
@ -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=
|
||||
|
|
Loading…
Reference in a new issue