#!/bin/sh

git subtree add --prefix third_party/libhbase git@github.com:mapr/libhbase master --squash
git subtree pull --prefix third_party/libhbase git@github.com:mapr/libhbase master --squash

cd third_party/libhbase

mvn install -DskipTests

mkdir -p ../../libhbase/src/common

tar zxvf target/libhbase-1.0-SNAPSHOT.tar.gz -C ../../libhbase

cp src/test/native/common/*.cc ../../libhbase/src/common
cp src/test/native/common/*.h ../../libhbase/include/hbase

cd ../../libhbase

mkdir -p build

#!/bin/sh

cd third_party/libhbase

mvn install -DskipTests

mkdir -p ../../libhbase/src/common

tar zxvf target/libhbase-1.0-SNAPSHOT.tar.gz -C ../../libhbase

cp src/test/native/common/*.cc ../../libhbase/src/common
cp src/test/native/common/*.h ../../libhbase/include/hbase

cd ../../libhbase

mkdir -p build

Remove subtree command, because it should run as developer
Remove subtree command, because it should run as developer
