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

# simple helper to zip up the builds
cd bin

# windows
mkdir real2d_windows
cp windows_dll/* real2d_windows
cp real2d.exe real2d_windows
zip -r zip/real2d_x86_windows.zip real2d_windows

# 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 bin/zip/* root@foxcam.net:/var/www/foxcam/bin/