Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(126)

Unified Diff: Makefile

Issue 269823003: Parameterize uri resolution and parsing of options, use package:path (Closed) Base URL: git@github.com:dart-lang/dart-protoc-plugin.git@master
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « .gitignore ('k') | bin/protoc_plugin.dart » ('j') | lib/protobuf_field.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Makefile
diff --git a/Makefile b/Makefile
index f254dbbe22219f5fe49d1f90818ac8d52f0ef697..fceb4f3878602931e2cccb415652876f92115572 100644
--- a/Makefile
+++ b/Makefile
@@ -8,6 +8,8 @@ PLUGIN_SRC = \
lib/file_generator.dart \
lib/indenting_writer.dart \
lib/message_generator.dart \
+ lib/options.dart \
+ lib/output_config.dart \
lib/protobuf_field.dart \
lib/protoc.dart \
lib/src/descriptor.pb.dart \
@@ -43,7 +45,7 @@ PREGENERATED_SRCS=lib/descriptor.proto lib/plugin.proto
$(PLUGIN_PATH): $(PLUGIN_SRC)
[ -d $(OUTPUT_DIR) ] || mkdir $(OUTPUT_DIR)
# --categories=all is a hack, it should be --categories=Server once dart2dart bug is fixed.
- dart2js --checked --output-type=dart --package-root=packages --categories=all -o$(PLUGIN_PATH) bin/protoc_plugin.dart
+ dart2js --checked --output-type=dart --show-package-warnings --categories=all -o$(PLUGIN_PATH) bin/protoc_plugin.dart
dart prepend.dart $(PLUGIN_PATH)
chmod +x $(PLUGIN_PATH)
@@ -65,7 +67,7 @@ update-pregenerated: $(PLUGIN_PATH) $(PREGENERATED_SRCS)
build-test-protos: $(TEST_PROTO_LIBS)
run-tests: build-test-protos
- dart --checked --package-root=packages/ test/all_tests.dart
+ dart --checked test/all_tests.dart
clean:
rm -rf $(OUTPUT_DIR)
« no previous file with comments | « .gitignore ('k') | bin/protoc_plugin.dart » ('j') | lib/protobuf_field.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698