Skip to content

Commit

Permalink
Switch from Gradle to Maven.
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangkun83 committed Apr 1, 2015
1 parent e2f8585 commit ae9177d
Show file tree
Hide file tree
Showing 8 changed files with 119 additions and 372 deletions.
7 changes: 6 additions & 1 deletion protoc-artifacts/build-protoc.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/bash

cd $(dirname "$0")
WORKING_DIR=$(pwd)

# Override the default value set in configure.ac that has '-g' which produces
# huge binary.
export CXXFLAGS="-DNDEBUG"
Expand All @@ -16,4 +19,6 @@ if [[ "$(uname)" == CYGWIN* ]]; then
export CXXCPP=i686-pc-mingw32-cpp
fi

cd $(dirname "$0")/.. && ./configure --disable-shared && make clean && make
cd "$WORKING_DIR"/.. && ./configure --disable-shared && make clean && make &&
cd "$WORKING_DIR" && mkdir -p target &&
(cp ../src/protoc target/protoc.exe || cp ../src/protoc.exe target/protoc.exe)
110 changes: 0 additions & 110 deletions protoc-artifacts/build.gradle

This file was deleted.

Binary file removed protoc-artifacts/gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
6 changes: 0 additions & 6 deletions protoc-artifacts/gradle/wrapper/gradle-wrapper.properties

This file was deleted.

164 changes: 0 additions & 164 deletions protoc-artifacts/gradlew

This file was deleted.

90 changes: 0 additions & 90 deletions protoc-artifacts/gradlew.bat

This file was deleted.

Loading

0 comments on commit ae9177d

Please sign in to comment.