summaryrefslogtreecommitdiff
path: root/compile.sh
blob: 32d36267f60277380801da6ae540d9a89285a2aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
libopenvpn_so_files=`find libs -name libopenvpn.so | wc --lines`
libopvnutil_so_files=`find libs -name libopvpnutil.so | wc --lines`
minivpn_files=`find libs -name minivpn | wc --lines`
if [ $libopenvpn_so_files -lt 4 ] || [ $libopvnutil_so_files -lt 4 ] || [ $minivpn_files -lt 4 ];
then
	./compile-native-openvpn.sh
fi

android update project --path . --name "Bitmask for Android" --target android-17
ant debug

cd tests/ && ./compile.sh && cd ..