Skip to content

Commit

Permalink
Merge pull request #23 from liamg/liamg-fix-ctty
Browse files Browse the repository at this point in the history
Upgrade to Go 1.15 and fix Ctty
  • Loading branch information
liamg authored Sep 23, 2020
2 parents 69d28b9 + 73bba2e commit 79f64da
Show file tree
Hide file tree
Showing 521 changed files with 270,515 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: go
go:
- 1.13
- 1.15
env:
global:
- secure: "DvI7JE65KOJCKJNqdLR+2SueBx883lJFaYogVIXzsSCpxdJxC+5spXZ9jj8JmTHhaKiB8BcXFwqjXoCfwTL81Mv/jv1qAzn1DGuabNuYjbNX8kD+WsXulu2xcVQzbZHclKo7jYKOnXYlm/xu4JJLq5vhFxYGCWQZLRE1j+ApJgeVNrYxbUxvEXuZWvSjxm4g7ilnX9PxDHeQEaRr7rhLIuUv01OOZ3/jg2JxGAE1ZC5gHOI6s3GJTG5fW2BzHgMGxio7HIo8Giu2c63VxZicpElNC+qqcLubTIXtWj9baUXjroYrkmrsG36Wrq6TQk30rX5op2HQesG9nsOKpQkqIOxqLyR8xERAz54m8ZL7SPab7gz1HLJEJlu2oBnQzylJe7TzpaQizqIdtd3ui0uKMTfF7yeED1Wfn/eor4zd63LXZBPhga0gW+9VDIFYBBATQ4kmW/G5w/6hO6bjFKdeHi7Q4wi6sEanGb0BLsKdvL6wgbGbXVAOUKL0+NLRwgEm8n4HSaCcLFcKlOanLmxvz1v2qkz/vDrtr7Ap+CT1BX4sNPmACINzvP0PdERo0KBfq9mWEd3YNIIYO0uwqRo12lP6Th+dDiX7V7V/CHbD0J5F0nhbwy45wnNLSnSG0aP9sFIbrxi1RcfWaaMxE3bY/qdfSzDMXxbMcFQg+ZpEhnA="
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ build:
./scripts/build.sh

test:
go test -race ./...
go test -mod=vendor -race ./...

run:
go build ./cmd/shox
go build -mod=vendor ./cmd/shox
./shox
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
module github.com/liamg/shox

go 1.13
go 1.15

require (
github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d // indirect
github.com/creack/pty v1.1.9
github.com/creack/pty v1.1.11
github.com/distatus/battery v0.10.0
github.com/go-ole/go-ole v1.2.4 // indirect
github.com/mattn/go-runewidth v0.0.8
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d h1:G0m3OIz70MZUWq3EgK3CesDbo8upS2Vm9/P3FtgI+Jk=
github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d/go.mod h1:3eOhrUMpNV+6aFIbp5/iudMxNCF27Vw2OZgy4xEx0Fg=
github.com/creack/pty v1.1.9 h1:uDmaGzcdjhF4i/plgjmEsriH11Y0o7RKapEf/LDaM3w=
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
github.com/creack/pty v1.1.11 h1:07n33Z8lZxZ2qwegKbObQohDhXDQxiMMz1NOUGYlesw=
github.com/creack/pty v1.1.11/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/distatus/battery v0.10.0 h1:YbizvmV33mqqC1fPCAEaQGV3bBhfYOfM+2XmL+mvt5o=
Expand Down
4 changes: 2 additions & 2 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
BINARY=shox
TAG=${TRAVIS_TAG:-development}
mkdir -p bin/darwin
GOOS=darwin GOARCH=amd64 go build -o bin/darwin/${BINARY}-darwin-amd64 ./cmd/shox/
GOOS=darwin GOARCH=amd64 go build -mod=vendor -o bin/darwin/${BINARY}-darwin-amd64 ./cmd/shox/
mkdir -p bin/linux
GOOS=linux GOARCH=amd64 go build -o bin/linux/${BINARY}-linux-amd64 ./cmd/shox/
GOOS=linux GOARCH=amd64 go build -mod=vendor -o bin/linux/${BINARY}-linux-amd64 ./cmd/shox/
20 changes: 20 additions & 0 deletions vendor/github.com/StackExchange/wmi/LICENSE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions vendor/github.com/StackExchange/wmi/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

260 changes: 260 additions & 0 deletions vendor/github.com/StackExchange/wmi/swbemservices.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 79f64da

Please sign in to comment.