# /bin/sh

# build resources
npm run build

# build android package
cd cordova
cordova build android --release -- --keystore="../config/release.keystore" --alias=tianwang --storePassword=wanbits --password=wanbits

# copy android apk
cp platforms/android/app/build/outputs/apk/release/app-release.apk ../web/test/app-release.apk
