summaryrefslogtreecommitdiff
path: root/testautogen
diff options
context:
space:
mode:
Diffstat (limited to 'testautogen')
-rw-r--r--testautogen/Makefile2
-rw-r--r--testautogen/test.proto2
2 files changed, 3 insertions, 1 deletions
diff --git a/testautogen/Makefile b/testautogen/Makefile
index 476e3d0..a2bafb3 100644
--- a/testautogen/Makefile
+++ b/testautogen/Makefile
@@ -6,7 +6,7 @@ test: vet
all: clean test.pb.go forgeConfig.pb.go run
run:
- ../autogenpb --proto test.proto --lobase gitTag --upbase GitTag --sort "ByPath,Refname" --marshal GitTags --append Subject
+ ../autogenpb --proto test.proto --lobase gitTag --upbase GitTag --sort "ByPath,Refname" --sort "BySubject,Subject" --marshal GitTags --append Bling
../autogenpb --proto forgeConfig.proto --sort "ByPath,GoPath" # --append GoPath
vet:
diff --git a/testautogen/test.proto b/testautogen/test.proto
index 00dc92c..8d60852 100644
--- a/testautogen/test.proto
+++ b/testautogen/test.proto
@@ -10,6 +10,8 @@ message GitTag {
google.protobuf.Timestamp authordate = 3; // git creatordate
string objectname = 4; // git hash
string subject = 5; // git tag subject
+ string author = 6; // author
+ string bling = 7; // bling
}
message GitTags {