-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Directly embed protos rather than submoduling pachyderm, to avoid a c…
…argo bug: rust-lang/cargo#2748
- Loading branch information
Showing
22 changed files
with
3,977 additions
and
32 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,3 @@ | |
**/*.rs.bk | ||
Cargo.lock | ||
.DS_Store | ||
/proto/client |
This file was deleted.
Oops, something went wrong.
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,4 +1,15 @@ | ||
init: | ||
git submodule update --init | ||
SHELL := /bin/bash | ||
|
||
.PHONY: init | ||
PACHYDERM_ROOT?=${GOPATH}/src/github.com/pachyderm/pachyderm | ||
RUST_PACHYDERM_ROOT?=${PWD} | ||
|
||
.PHONY: clean | ||
|
||
clean: | ||
rm -rf proto | ||
|
||
proto: | ||
mkdir proto | ||
cd $(PACHYDERM_ROOT)/src && find ./client -maxdepth 5 -regex ".*\.proto" -exec cp --parents {} $(RUST_PACHYDERM_ROOT)/proto/ \; | ||
find ./proto -name "*.proto" -exec sed -i '' 's/import.*gogo.proto.*\;//' {} + | ||
find ./proto -name "*.proto" -exec sed -i '' 's/\[.*gogoproto.*\]//' {} + |
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
Oops, something went wrong.