Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
yosssi committed Jun 18, 2014
1 parent a9f8f1e commit 6694282
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
protoc:
protoc --gogo_out=. shared/protobuf/*.proto
bench:
CREATE_BENCHDATA=true go test -bench . -benchmem -cover ./...
2 changes: 1 addition & 1 deletion store/store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
var benchmarkDB = fmt.Sprintf("benchmark_store_%d.db", time.Now().Unix())

func init() {
if os.Getenv("CREATEBENCHDATA") != "true" {
if os.Getenv("CREATE_BENCHDATA") != "true" {
return
}

Expand Down

0 comments on commit 6694282

Please sign in to comment.