Make gen:install work outside GOPATH

This commit is contained in:
Ken-Håvard Lieng 2018-10-06 09:15:11 +02:00
parent 3ec450805b
commit 91fd50fe10
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@
"test": "jest", "test": "jest",
"test:verbose": "jest --verbose", "test:verbose": "jest --verbose",
"test:watch": "jest --watch", "test:watch": "jest --watch",
"gen:install": "go get -u github.com/andyleap/gencode github.com/mailru/easyjson/... github.com/SlinSo/egon/cmd/egon", "gen:install": "GO111MODULE=off go get -u github.com/andyleap/gencode github.com/mailru/easyjson/... github.com/SlinSo/egon/cmd/egon",
"gen:binary": "gencode go -package storage -schema ../storage/storage.schema -unsafe", "gen:binary": "gencode go -package storage -schema ../storage/storage.schema -unsafe",
"gen:json": "easyjson -all -lower_camel_case -omit_empty ../server/json.go ../server/index_data.go", "gen:json": "easyjson -all -lower_camel_case -omit_empty ../server/json.go ../server/index_data.go",
"gen:template": "egon -s -m ../server" "gen:template": "egon -s -m ../server"