OLD | NEW |
1 PLUGIN_SRC = \ | 1 PLUGIN_SRC = \ |
2 prepend.dart \ | 2 prepend.dart \ |
3 bin/protoc_plugin.dart \ | 3 bin/protoc_plugin.dart \ |
4 lib/*.dart \ | 4 lib/*.dart \ |
5 lib/src/descriptor.pb.dart \ | 5 lib/src/descriptor.pb.dart \ |
6 lib/src/plugin.pb.dart | 6 lib/src/plugin.pb.dart |
7 | 7 |
8 OUTPUT_DIR=out | 8 OUTPUT_DIR=out |
9 PLUGIN_NAME=protoc-gen-dart | 9 PLUGIN_NAME=protoc-gen-dart |
10 PLUGIN_PATH=$(OUTPUT_DIR)/$(PLUGIN_NAME) | 10 PLUGIN_PATH=$(OUTPUT_DIR)/$(PLUGIN_NAME) |
11 | 11 |
12 BENCHMARK_PROTOS = $(wildcard benchmark/protos/*.proto) | 12 BENCHMARK_PROTOS = $(wildcard benchmark/protos/*.proto) |
13 | 13 |
14 TEST_PROTO_LIST = \ | 14 TEST_PROTO_LIST = \ |
15 google/protobuf/unittest_import \ | 15 google/protobuf/unittest_import \ |
16 google/protobuf/unittest_optimize_for \ | 16 google/protobuf/unittest_optimize_for \ |
17 google/protobuf/unittest \ | 17 google/protobuf/unittest \ |
| 18 dart_name \ |
18 dart_options \ | 19 dart_options \ |
19 descriptor_2_5_opensource \ | 20 descriptor_2_5_opensource \ |
20 enum_extension \ | 21 enum_extension \ |
21 map_api \ | 22 map_api \ |
22 map_api2 \ | 23 map_api2 \ |
23 multiple_files_test \ | 24 multiple_files_test \ |
24 nested_extension \ | 25 nested_extension \ |
25 non_nested_extension \ | 26 non_nested_extension \ |
26 reserved_names \ | 27 reserved_names \ |
27 duplicate_names_import \ | 28 duplicate_names_import \ |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 -Ibenchmark/protos \ | 77 -Ibenchmark/protos \ |
77 --plugin=protoc-gen-dart=$(realpath $(PLUGIN_PATH)) \ | 78 --plugin=protoc-gen-dart=$(realpath $(PLUGIN_PATH)) \ |
78 $(BENCHMARK_PROTOS) | 79 $(BENCHMARK_PROTOS) |
79 | 80 |
80 run-tests: protos | 81 run-tests: protos |
81 pub run test | 82 pub run test |
82 | 83 |
83 clean: | 84 clean: |
84 rm -rf benchmark/lib/generated | 85 rm -rf benchmark/lib/generated |
85 rm -rf $(OUTPUT_DIR) | 86 rm -rf $(OUTPUT_DIR) |
OLD | NEW |