-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #82 from erizocosmico/fix/multiple-packages
add proto folder path to proto_path
- Loading branch information
Showing
10 changed files
with
474 additions
and
257 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
regenerate: | ||
- make -C $(GOPATH)/src/gopkg.in/src-d/proteus.v1 reinstall | ||
- proteus -p gopkg.in/src-d/proteus.v1/example -f $(GOPATH)/src/gopkg.in/src-d/proteus.v1/example/protos --verbose | ||
- proteus -p gopkg.in/src-d/proteus.v1/example -p gopkg.in/src-d/proteus.v1/example/categories -f $(GOPATH)/src/gopkg.in/src-d/proteus.v1/example/protos --verbose | ||
# Need to generate twice to avoid bug where rpc would detect the | ||
# autogenerated methods as real ones, not generating them if proteus was | ||
# called again. | ||
- proteus -p gopkg.in/src-d/proteus.v1/example -f $(GOPATH)/src/gopkg.in/src-d/proteus.v1/example/protos --verbose | ||
- proteus -p gopkg.in/src-d/proteus.v1/example -p gopkg.in/src-d/proteus.v1/example/categories -f $(GOPATH)/src/gopkg.in/src-d/proteus.v1/example/protos --verbose |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package categories | ||
|
||
// CategoryOptions is not marked for generations, but it is used in another | ||
// structs, so it will be generated because of it. | ||
type CategoryOptions struct { | ||
ShowPrices bool | ||
CanBuy bool | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.