blob: 2767d61fa9a8eb4145e75ebded34fa3559e6e242 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/bin/bash
set -e
export HOSTDIR=/bitmask-vpn.host
export GUESTDIR=/bitmask-vpn
export DESTDIR="${HOSTDIR}"/deploy/
rm -rf "${GUESTDIR}"
cp -r "${HOSTDIR}" "${GUESTDIR}"
cd "${GUESTDIR}"
make prepare
make build
case $XBUILD in
win)
make package_win
;;
osx)
make package_osx
;;
yes)
make packages
;;
esac
cp "${GUESTDIR}"/deploy/* $DESTDIR
|