Moving from govendor to dep, updated dependencies (#48)

* Moving from govendor to dep.

* Making the pull request template more friendly.

* Fixing akward space in PR template.

* goimports run on whole project using ` goimports -w $(find . -type f -name '*.go' -not -path "./vendor/*" -not -path "./gen-go/*")`

source of command: https://gist.github.com/bgentry/fd1ffef7dbde01857f66
This commit is contained in:
Renan DelValle 2018-01-07 13:13:47 -08:00 committed by GitHub
parent 9631aa3aab
commit 8d445c1c77
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2186 changed files with 400410 additions and 352 deletions

View file

@ -0,0 +1,6 @@
#!/bin/sh
set -ev
./bootstrap.sh
./configure $*
make check -j3

View file

@ -0,0 +1,23 @@
#!/bin/sh
set -ev
CMAKE_FLAGS=$*
MAKEPROG=make
if ninja --version >/dev/null 2>&1; then
MAKEPROG=ninja
CMAKE_FLAGS="-GNinja $CMAKE_FLAGS"
fi
mkdir -p cmake_build && cd cmake_build
cmake $CMAKE_FLAGS ..
for LIB in $BUILD_LIBS; do
if ! grep "^BUILD_${LIB}:BOOL=ON$" CMakeCache.txt ; then
echo "failed to configure $LIB"
exit 1
fi
done
$MAKEPROG -j3
cpack
ctest -VV
# was: -E "(concurrency_test|processor_test)"

View file

@ -0,0 +1,16 @@
#!/bin/sh
set -ev
./bootstrap.sh
./configure --enable-tutorial=no
make -j3 precross
set +e
make cross$1
RET=$?
if [ $RET -ne 0 ]; then
cat test/log/unexpected_failures.log
fi
exit $RET

View file

@ -0,0 +1,5 @@
#!/bin/sh
set -ev
dpkg-buildpackage -tc -us -uc
ls -al ..

View file

@ -0,0 +1,9 @@
#!/bin/sh
set -ev
./bootstrap.sh
./configure $*
make dist
tar xvf thrift-*.tar.gz
cd thrift-*
./build/docker/scripts/cmake.sh