Skip to content
This repository has been archived by the owner on May 17, 2021. It is now read-only.

Commit

Permalink
Use Glide instead of dep
Browse files Browse the repository at this point in the history
  • Loading branch information
dtan4 committed Apr 17, 2017
1 parent 581c057 commit ff42549
Show file tree
Hide file tree
Showing 5 changed files with 110 additions and 136 deletions.
16 changes: 8 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,9 @@ cross-build:
done; \
done

.PHONY: dep
dep:
ifeq ($(shell command -v dep 2> /dev/null),)
go get -u -v github.com/golang/dep/...
endif

.PHONY: deps
deps: dep mockgen
dep ensure -v
deps: glide mockgen
glide install

.PHONY: dist
dist:
Expand All @@ -58,6 +52,12 @@ dist:
$(DIST_DIRS) zip -r $(NAME)-$(VERSION)-{}.zip {} \; && \
cd ..

.PHONY: glide
glide:
ifeq ($(shell command -v glide 2> /dev/null),)
curl https://glide.sh/get | sh
endif

.PHONY: install
install:
go install $(LDFLAGS)
Expand Down
73 changes: 73 additions & 0 deletions glide.lock

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

29 changes: 29 additions & 0 deletions glide.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
package: github.com/dtan4/esnctl
import:
- package: github.com/aws/aws-sdk-go
version: ~1.8.12
subpackages:
- aws
- aws/request
- aws/session
- service/autoscaling
- service/autoscaling/autoscalingiface
- service/ec2
- service/ec2/ec2iface
- service/elbv2
- service/elbv2/elbv2iface
- package: github.com/golang/mock
subpackages:
- gomock
- package: github.com/pkg/errors
version: ~0.8.0
- package: github.com/spf13/cobra
- package: gopkg.in/olivere/elastic.v2
version: ~v2.0.58
- package: gopkg.in/olivere/elastic.v3
version: ~v3.0.68
- package: gopkg.in/olivere/elastic.v5
version: v5.0.34
testImport:
- package: gopkg.in/h2non/gock.v1
version: ~1.0.4
118 changes: 0 additions & 118 deletions lock.json

This file was deleted.

10 changes: 0 additions & 10 deletions manifest.json

This file was deleted.

0 comments on commit ff42549

Please sign in to comment.