From 231b8989fdd91147a3f097ce454a8a7a23782ac4 Mon Sep 17 00:00:00 2001 From: Ulas Kirazci Date: Fri, 19 Jul 2013 11:56:43 -0700 Subject: Add contribution instructions for nano. Change-Id: Ie110d182a84258ab5bb3ba1f67c6ada6be476c7e --- java/README.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/java/README.txt b/java/README.txt index 3e3fedb..8ebc9fb 100644 --- a/java/README.txt +++ b/java/README.txt @@ -310,6 +310,24 @@ To use nano protobufs: ../src/protoc '--javanano_out=java_package=src/test/proto/simple-data.proto|my_package,java_outer_classname=src/test/proto/simple-data.proto|OuterName:.' src/test/proto/simple-data.proto +Contributing to nano: + +Please add/edit tests in NanoTest.java. + +Please run the following steps to test: + +- cd external/protobuf +- ./configure +- Run "make -j12 check" and verify all tests pass. +- cd java +- Run "mvn test" and verify all tests pass. +- cd ../../.. +- . build/envsetup.sh +- lunch 1 +- "make -j12 aprotoc libprotobuf-java-2.3.0-nano" and check for build errors. +- repo sync -c -j256 +- "make -j12" and check for build errors + Usage ===== -- cgit v1.1