Skip to content

Commit

Permalink
IOTEX-8 Use dep ensure --vendor-only instead (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
zjshen14 authored Sep 5, 2018
1 parent cf791c2 commit 88f58bd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ jobs:

# specify any bash command here prefixed with `run: `
- run: golint -set_exit_status $(go list ./... | grep -v /vendor/ | grep -v /explorer/idl/)
- run: dep ensure
- run: dep ensure --vendor-only
- run: ./go.test.sh
- run: bash <(curl -s https://codecov.io/bash)
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RUN if [ "$SKIP_DEP" != true ] ; \
then \
cd $GOPATH/src/github.com/iotexproject/iotex-core/ && \
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh && \
dep ensure ; \
dep ensure --vendor-only; \
fi


Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ cd iotex-core

Install Go dependency management tool from [golang dep](https://github.com/golang/dep) first and then

```dep ensure```
```dep ensure --vendor-only```

```make fmt; make build```

Expand Down

0 comments on commit 88f58bd

Please sign in to comment.