chore: use dep to manage vendor (#364)

Former-commit-id: a5262bb5a3ca329e8d9d7f68bbcd932bcd4f5aa0 [formerly 38cda564a25a09a12a849a5ac756b55e895d8ac7] [formerly b70c0cf897f19e468259148fc75e9a60de5252ab [formerly a184b775b35c5bfde79cbe666949e56093955e0e]]
Former-commit-id: 1de8ed7a5b316b7a64cad814c0efc80b67a9668f [formerly 5ef584fce122832b7e9200e6a7c6259a2b0e3c09]
Former-commit-id: 7e11fda1d06bd57d16a03a17d7c3a644e46c451a
This commit is contained in:
Equim
2018-02-25 16:55:48 +08:00
committed by Henrique Dias
parent 967d4e28de
commit 5eb9e95720
5 changed files with 530 additions and 32 deletions

View File

@@ -9,7 +9,9 @@ jobs:
- run:
name: Install Dependencies
command: |
cd cmd/filebrowser && go get ./... && cd ../..
curl -sL -o $GOPATH/bin/dep https://github.com/golang/dep/releases/download/v0.4.1/dep-linux-amd64
chmod +x $GOPATH/bin/dep
dep ensure -v
go get github.com/alecthomas/gometalinter
gometalinter --install
- run:
@@ -32,11 +34,12 @@ jobs:
- run:
name: Install Dependencies
command: |
cd cmd/filebrowser
go get ./...
curl -sL -o $GOPATH/bin/dep https://github.com/golang/dep/releases/download/v0.4.1/dep-linux-amd64
chmod +x $GOPATH/bin/dep
dep ensure -v
- run:
name: Building
command: go build
command: go build github.com/filebrowser/filebrowser/cmd/filebrowser
deploy:
docker:
- image: circleci/golang:1.10
@@ -46,9 +49,9 @@ jobs:
- run:
name: Install Dependencies
command: |
cd cmd/filebrowser
go get ./...
cd ../..
curl -sL -o $GOPATH/bin/dep https://github.com/golang/dep/releases/download/v0.4.1/dep-linux-amd64
chmod +x $GOPATH/bin/dep
dep ensure -v
- run:
name: Deploy
command: curl -sL https://git.io/goreleaser | bash