Skip to content

Commit

Permalink
Update to use go mod
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin <kevin@stealsyour.pw>
  • Loading branch information
thatarchguy committed Sep 4, 2018
1 parent 2542f06 commit c69a899
Show file tree
Hide file tree
Showing 7 changed files with 258 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ swagip
.vscode/
.grifter/
.env
SwagIP-go
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
before_script:
- ln -s /builds /go/src/$(echo "github.com/StackFocus/swagip" | cut -d "/" -f1)
- cd /go/src/github.com/StackFocus/swagip
- ln -s /builds /go/src/$(echo "github.com/StackFocus/SwagIP-go" | cut -d "/" -f1)
- cd /go/src/github.com/StackFocus/SwagIP-go
- mkdir -p public/assets
- go get -u github.com/gobuffalo/buffalo/buffalo
- go get -t -v ./...
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# https://docs.docker.com/engine/userguide/eng-image/multistage-build/
FROM gobuffalo/buffalo:v0.12.4 as builder

RUN mkdir -p $GOPATH/src/github.com/StackFocus/swagip
WORKDIR $GOPATH/src/github.com/StackFocus/swagip
RUN mkdir -p $GOPATH/src/github.com/StackFocus/SwagIP-go
WORKDIR $GOPATH/src/github.com/StackFocus/SwagIP-go

ADD . .
RUN go get $(go list ./... | grep -v /vendor/)
Expand Down
71 changes: 71 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
module github.com/StackFocus/SwagIP-go

require (
dmitri.shuralyov.com/text/kebabcase v0.0.0-20180217051803-40e40b42552a
github.com/BurntSushi/toml v0.3.0
github.com/ajg/form v0.0.0-20160822230020-523a5da1a92f
github.com/cockroachdb/cockroach-go v0.0.0-20180212155653-59c0560478b7
github.com/davecgh/go-spew v1.1.1
github.com/dustin/go-humanize v0.0.0-20180713052910-9f541cc9db5d
github.com/fatih/color v1.7.0
github.com/fatih/structs v1.0.0
github.com/fsnotify/fsnotify v1.4.7
github.com/go-sql-driver/mysql v1.4.0
github.com/gobuffalo/buffalo v0.12.6
github.com/gobuffalo/envy v1.6.4
github.com/gobuffalo/fizz v1.0.10
github.com/gobuffalo/github_flavored_markdown v1.0.0
github.com/gobuffalo/makr v1.1.4
github.com/gobuffalo/packr v1.13.3
github.com/gobuffalo/plush v3.7.16+incompatible
github.com/gobuffalo/pop v4.7.1+incompatible
github.com/gobuffalo/suite v2.1.5+incompatible
github.com/gobuffalo/tags v2.0.10+incompatible
github.com/gobuffalo/uuid v2.0.3+incompatible
github.com/gobuffalo/validate v2.0.3+incompatible
github.com/gobuffalo/x v0.0.0-20180816203319-dc54d929c4a2
github.com/gorilla/context v1.1.1
github.com/gorilla/mux v1.6.2
github.com/gorilla/securecookie v1.1.1
github.com/gorilla/sessions v1.1.1
github.com/jmoiron/sqlx v0.0.0-20180614180643-0dae4fefe7c0
github.com/joho/godotenv v1.2.0
github.com/lib/pq v1.0.0
github.com/markbates/going v1.0.2
github.com/markbates/grift v1.0.1
github.com/markbates/hmax v1.0.0
github.com/markbates/inflect v1.0.0
github.com/markbates/refresh v1.4.2
github.com/markbates/sigtx v1.0.0
github.com/markbates/willie v1.0.7
github.com/mattn/go-colorable v0.0.9
github.com/mattn/go-isatty v0.0.3
github.com/mattn/go-sqlite3 v1.9.0
github.com/microcosm-cc/bluemonday v1.0.1
github.com/mitchellh/go-homedir v1.0.0
github.com/monoculum/formam v0.0.0-20170619223434-99ca9dcbaca6
github.com/pkg/errors v0.8.0
github.com/pmezard/go-difflib v1.0.0
github.com/rs/cors v1.5.0
github.com/serenize/snaker v0.0.0-20171204205717-a683aaf2d516
github.com/sergi/go-diff v1.0.0
github.com/shurcooL/go v0.0.0-20180423040247-9e1955d9fb6e
github.com/shurcooL/go-goon v0.0.0-20170922171312-37c2f522c041
github.com/shurcooL/graphql v0.0.0-20180514000029-62c9ce094e75
github.com/shurcooL/highlight_diff v0.0.0-20170515013008-09bb4053de1b
github.com/shurcooL/highlight_go v0.0.0-20170515013102-78fb10f4a5f8
github.com/shurcooL/octicon v0.0.0-20180602230221-c42b0e3b24d9
github.com/shurcooL/sanitized_anchor_name v0.0.0-20170918181015-86672fcb3f95
github.com/sirupsen/logrus v1.0.6
github.com/sourcegraph/annotate v0.0.0-20160123013949-f4cad6c6324d
github.com/sourcegraph/syntaxhighlight v0.0.0-20170531221838-bd320f5d308e
github.com/stretchr/testify v1.2.2
github.com/unrolled/secure v0.0.0-20180618144512-8287f3899c8e
golang.org/x/crypto v0.0.0-20180830192347-182538f80094
golang.org/x/net v0.0.0-20180826012351-8a410e7b638d
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f
golang.org/x/sys v0.0.0-20180830151530-49385e6e1522
google.golang.org/appengine v1.1.0
gopkg.in/russross/blackfriday.v1 v1.5.1
gopkg.in/yaml.v2 v2.2.1
)
Loading

0 comments on commit c69a899

Please sign in to comment.