1234567891011121314151617 |
- #!/bin/sh
- # hand made deploy script for n950
- APP=Meerc
- HOST=192.168.0.198
- qmake ${APP}.pro
- make
- rm -rf dist
- mkdir -p dist
- make INSTALL_ROOT=${PWD}/dist install
- ssh user@${HOST} "pkill ${APP}"
- dpkg-buildpackage -b
- scp ../meerc*.deb root@${HOST}:
- ssh root@${HOST} "dpkg -i hello*.deb"
- ssh user@${HOST} ". ./.profile; /opt/${APP}/bin/${APP}"
|