mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-02-09 13:47:11 +02:00
add go.mod
This commit is contained in:
parent
ba7e6add86
commit
0d7a697e86
@ -2,14 +2,23 @@ version: 2
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/golang:1.10
|
- image: circleci/golang:1.11
|
||||||
|
|
||||||
working_directory: /go/src/github.com/jesseduffield/lazygit
|
working_directory: /go/src/github.com/jesseduffield/lazygit
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- restore_cache:
|
- run:
|
||||||
keys:
|
name: Ensure go.mod file is up to date
|
||||||
- pkg-cache-{{ checksum "Gopkg.lock" }}-v1
|
command: |
|
||||||
|
export GO111MODULE=on
|
||||||
|
mv go.mod /tmp/
|
||||||
|
go mod init
|
||||||
|
export GO111MODULE=auto
|
||||||
|
|
||||||
|
if [ $(diff /tmp/go.mod go.mod|wc -l) -gt 0 ]; then
|
||||||
|
diff /tmp/go.mod go.mod
|
||||||
|
exit 1;
|
||||||
|
fi
|
||||||
- run:
|
- run:
|
||||||
name: Run gofmt -s
|
name: Run gofmt -s
|
||||||
command: |
|
command: |
|
||||||
@ -17,6 +26,9 @@ jobs:
|
|||||||
find . ! -path "./vendor/*" -name "*.go" -exec gofmt -s -d {} \;
|
find . ! -path "./vendor/*" -name "*.go" -exec gofmt -s -d {} \;
|
||||||
exit 1;
|
exit 1;
|
||||||
fi
|
fi
|
||||||
|
- restore_cache:
|
||||||
|
keys:
|
||||||
|
- pkg-cache-{{ checksum "Gopkg.lock" }}-v2
|
||||||
- run:
|
- run:
|
||||||
name: Run tests
|
name: Run tests
|
||||||
command: |
|
command: |
|
||||||
@ -31,7 +43,7 @@ jobs:
|
|||||||
command: |
|
command: |
|
||||||
bash <(curl -s https://codecov.io/bash)
|
bash <(curl -s https://codecov.io/bash)
|
||||||
- save_cache:
|
- save_cache:
|
||||||
key: pkg-cache-{{ checksum "Gopkg.lock" }}-v1
|
key: pkg-cache-{{ checksum "Gopkg.lock" }}-v2
|
||||||
paths:
|
paths:
|
||||||
- ~/.cache/go-build
|
- ~/.cache/go-build
|
||||||
|
|
||||||
|
62
go.mod
Normal file
62
go.mod
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
module github.com/jesseduffield/lazygit
|
||||||
|
|
||||||
|
require (
|
||||||
|
github.com/aws/aws-sdk-go v1.15.21
|
||||||
|
github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d
|
||||||
|
github.com/cloudfoundry/jibber_jabber v0.0.0-20151120183258-bcc4c8345a21
|
||||||
|
github.com/davecgh/go-spew v1.1.0
|
||||||
|
github.com/emirpasic/gods v1.9.0
|
||||||
|
github.com/fatih/color v1.7.0
|
||||||
|
github.com/fsnotify/fsnotify v1.4.7
|
||||||
|
github.com/go-ini/ini v1.38.2
|
||||||
|
github.com/golang-collections/collections v0.0.0-20130729185459-604e922904d3
|
||||||
|
github.com/hashicorp/go-cleanhttp v0.0.0-20171218145408-d5fe4b57a186
|
||||||
|
github.com/hashicorp/go-getter v0.0.0-20180809191950-4bda8fa99001
|
||||||
|
github.com/hashicorp/go-safetemp v0.0.0-20180326211150-b1a1dbde6fdc
|
||||||
|
github.com/hashicorp/go-version v1.0.0
|
||||||
|
github.com/hashicorp/hcl v0.0.0-20180404174102-ef8a98b0bbce
|
||||||
|
github.com/heroku/rollrus v0.0.0-20180515183152-fc0cef2ff331
|
||||||
|
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99
|
||||||
|
github.com/jesseduffield/go-getter v0.0.0-20180822080847-906e15686e63
|
||||||
|
github.com/jesseduffield/gocui v0.0.0-20180905104005-2cb6e95bbbf8
|
||||||
|
github.com/jmespath/go-jmespath v0.0.0-20160202185014-0b12d6b521d8
|
||||||
|
github.com/kardianos/osext v0.0.0-20170510131534-ae77be60afb1
|
||||||
|
github.com/kevinburke/ssh_config v0.0.0-20180317175531-9fc7bb800b55
|
||||||
|
github.com/magiconair/properties v1.8.0
|
||||||
|
github.com/mattn/go-colorable v0.0.9
|
||||||
|
github.com/mattn/go-isatty v0.0.3
|
||||||
|
github.com/mattn/go-runewidth v0.0.2
|
||||||
|
github.com/mgutz/str v1.2.0
|
||||||
|
github.com/mitchellh/go-homedir v0.0.0-20180801233206-58046073cbff
|
||||||
|
github.com/mitchellh/go-testing-interface v0.0.0-20171004221916-a61a99592b77
|
||||||
|
github.com/mitchellh/mapstructure v0.0.0-20180715050151-f15292f7a699
|
||||||
|
github.com/nicksnyder/go-i18n v0.0.0-20180803040939-a16b91a3ba80
|
||||||
|
github.com/nsf/termbox-go v0.0.0-20180613055208-5c94acc5e6eb
|
||||||
|
github.com/pelletier/go-buffruneio v0.2.0
|
||||||
|
github.com/pelletier/go-toml v1.2.0
|
||||||
|
github.com/pkg/errors v0.8.0
|
||||||
|
github.com/pmezard/go-difflib v1.0.0
|
||||||
|
github.com/sergi/go-diff v1.0.0
|
||||||
|
github.com/shibukawa/configdir v0.0.0-20170330084843-e180dbdc8da0
|
||||||
|
github.com/sirupsen/logrus v1.0.6
|
||||||
|
github.com/spf13/afero v1.1.1
|
||||||
|
github.com/spf13/cast v1.2.0
|
||||||
|
github.com/spf13/jwalterweatherman v0.0.0-20180814060501-14d3d4c51834
|
||||||
|
github.com/spf13/pflag v1.0.2
|
||||||
|
github.com/spf13/viper v1.1.0
|
||||||
|
github.com/spkg/bom v0.0.0-20160624110644-59b7046e48ad
|
||||||
|
github.com/src-d/gcfg v1.3.0
|
||||||
|
github.com/stretchr/testify v1.2.2
|
||||||
|
github.com/stvp/roll v0.0.0-20170522205222-3627a5cbeaea
|
||||||
|
github.com/tcnksm/go-gitconfig v0.1.2
|
||||||
|
github.com/ulikunitz/xz v0.5.4
|
||||||
|
github.com/xanzy/ssh-agent v0.2.0
|
||||||
|
golang.org/x/crypto v0.0.0-20180808211826-de0752318171
|
||||||
|
golang.org/x/net v0.0.0-20180811021610-c39426892332
|
||||||
|
golang.org/x/sys v0.0.0-20180810173357-98c5dad5d1a0
|
||||||
|
golang.org/x/text v0.3.0
|
||||||
|
gopkg.in/src-d/go-billy.v4 v4.2.0
|
||||||
|
gopkg.in/src-d/go-git.v4 v4.0.0-20180807092216-43d17e14b714
|
||||||
|
gopkg.in/warnings.v0 v0.1.2
|
||||||
|
gopkg.in/yaml.v2 v2.2.1
|
||||||
|
)
|
Loading…
x
Reference in New Issue
Block a user