OLD | NEW |
1 #!/usr/bin/env bash | 1 #!/bin/sh |
2 | 2 |
3 # Run this script to regenerate descriptor.pb.{h,cc} after the protocol | 3 # Run this script to regenerate descriptor.pb.{h,cc} after the protocol |
4 # compiler changes. Since these files are compiled into the protocol compiler | 4 # compiler changes. Since these files are compiled into the protocol compiler |
5 # itself, they cannot be generated automatically by a make rule. "make check" | 5 # itself, they cannot be generated automatically by a make rule. "make check" |
6 # will fail if these files do not match what the protocol compiler would | 6 # will fail if these files do not match what the protocol compiler would |
7 # generate. | 7 # generate. |
8 # | 8 # |
9 # HINT: Flags passed to generate_descriptor_proto.sh will be passed directly | 9 # HINT: Flags passed to generate_descriptor_proto.sh will be passed directly |
10 # to make when building protoc. This is particularly useful for passing | 10 # to make when building protoc. This is particularly useful for passing |
11 # -j4 to run 4 jobs simultaneously. | 11 # -j4 to run 4 jobs simultaneously. |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 | 97 |
98 if test -x objectivec/generate_well_known_types.sh; then | 98 if test -x objectivec/generate_well_known_types.sh; then |
99 echo "Generating messages for objc." | 99 echo "Generating messages for objc." |
100 objectivec/generate_well_known_types.sh $@ | 100 objectivec/generate_well_known_types.sh $@ |
101 fi | 101 fi |
102 | 102 |
103 if test -x csharp/generate_protos.sh; then | 103 if test -x csharp/generate_protos.sh; then |
104 echo "Generating messages for C#." | 104 echo "Generating messages for C#." |
105 csharp/generate_protos.sh $@ | 105 csharp/generate_protos.sh $@ |
106 fi | 106 fi |
OLD | NEW |