Skip to content
Permalink
Browse files

Use dep

  • Loading branch information
bgpat committed Sep 15, 2018
1 parent caa71aa commit 83a94fc8276e2dd8fad7dbbf5a774658d66d4253
Showing with 209 additions and 2 deletions.
  1. +156 −0 home/isucon/torb/webapp/go/Gopkg.lock
  2. +50 −0 home/isucon/torb/webapp/go/Gopkg.toml
  3. +3 −2 home/isucon/torb/webapp/go/Makefile

Some generated files are not rendered by default. Learn more.

@@ -0,0 +1,50 @@
# Gopkg.toml example
#
# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md
# for detailed Gopkg.toml documentation.
#
# required = ["github.com/user/thing/cmd/thing"]
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
#
# [[constraint]]
# name = "github.com/user/project"
# version = "1.0.0"
#
# [[constraint]]
# name = "github.com/user/project2"
# branch = "dev"
# source = "github.com/myfork/project2"
#
# [[override]]
# name = "github.com/x/y"
# version = "2.4.0"
#
# [prune]
# non-go = false
# go-tests = true
# unused-packages = true


[[constraint]]
branch = "master"
name = "github.com/go-sql-driver/mysql"

[[constraint]]
name = "github.com/gorilla/sessions"
version = "1.1.1"

[[constraint]]
name = "github.com/labstack/echo"
version = "3.3.6"

[[constraint]]
branch = "master"
name = "github.com/labstack/echo-contrib"

[[constraint]]
branch = "master"
name = "go.opencensus.io"

[prune]
go-tests = true
unused-packages = true
@@ -7,11 +7,12 @@ clean:
rm -rf torb

deps:
gb vendor restore
# gb vendor restore
dep ensure -vendor-only

.PHONY: build
build:
GOOS=linux GOPATH=`pwd`:`pwd`/vendor go build -v torb
GOOS=linux go build -v -o torb ./src/torb

.PHONY: deploy
deploy:

0 comments on commit 83a94fc

Please sign in to comment.
You can’t perform that action at this time.