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

Commit

Permalink
Merge pull request #103 from sotetsuk/use-godep-#98
Browse files Browse the repository at this point in the history
Use godep #98
  • Loading branch information
sotetsuk committed May 15, 2016
2 parents da8b5ad + cbaf8fa commit 61caa3d
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.idea/*
*.iml
goscholar
goscholar
Godeps/_workspace/src/*
33 changes: 33 additions & 0 deletions Godeps/Godeps.json

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

5 changes: 5 additions & 0 deletions Godeps/Readme

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

2 changes: 2 additions & 0 deletions Godeps/_workspace/.gitignore

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

6 changes: 5 additions & 1 deletion build
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ export GOFMTPATH="./ cmd/goscholar"

eval $(go env)

## TODO: install dependencies with GoDeps
if ! [ -e $GOPATH/bin/godep ]; then
go get github.com/tools/godep
fi

$GOPATH/bin/godep restore

if [ "--fmt" = "$1" ]; then
gofmt -s -w -l $GOFMTPATH
Expand Down

0 comments on commit 61caa3d

Please sign in to comment.