summaryrefslogtreecommitdiff
path: root/package.sh
blob: 8a9de4c675a474e46e32d5cc9bb7bbe180878475 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

# simple helper to zip up the builds
cd bin
mkdir zip

# windows
zip -r zip/real2d_x86_windows.zip real2d.exe

# mac
zip -r zip/real2d_x86_mac.zip real_x86.app
zip -r zip/real2d_m1_mac.zip real_arm.app

# linux
zip -r zip/real2d_x86_linux.zip real2d_x86_linux
# zip -r zip/real2d_arm_linux.zip real2d_arm_linux

rsync -avz zip/* root@foxcam.net:/var/www/foxcam/bin/

rm -r zip
rm -r real*