forked from SonarSource/sonarqube
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve utility org.sonar.core.util.Protobuf
- Loading branch information
Simon Brandhof
committed
Jul 22, 2015
1 parent
5539cff
commit c98aca6
Showing
13 changed files
with
992 additions
and
240 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/bash | ||
|
||
# Usage: compile_protobuf <inputDir> <outputDir> | ||
function compile_protobuf { | ||
echo "Compiling [$1] to [$2]..." | ||
mkdir -p $2 | ||
protoc --proto_path=$1 --java_out=$2 $1/*.proto | ||
} | ||
|
||
compile_protobuf "sonar-core/src/test/protobuf" "sonar-core/src/test/gen-java" | ||
compile_protobuf "sonar-batch-protocol/src/main/protobuf" "sonar-batch-protocol/src/main/gen-java" | ||
|
||
|
||
|
This file was deleted.
Oops, something went wrong.
121 changes: 0 additions & 121 deletions
121
sonar-batch-protocol/src/main/java/org/sonar/batch/protocol/ProtobufUtil.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
71 changes: 0 additions & 71 deletions
71
sonar-batch-protocol/src/test/java/org/sonar/batch/protocol/ProtobufUtilTest.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.