forked from teckel12/LuaTelemetry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
release
37 lines (30 loc) · 1.43 KB
/
release
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/bin/bash
echo
echo -n Packaging release files
rm LuaTelemetry-Taranis-en.zip > /dev/null 2>&1
rm LuaTelemetry-Taranis.zip > /dev/null 2>&1
rm LuaTelemetry-Horus-en.zip > /dev/null 2>&1
rm LuaTelemetry-Horus.zip > /dev/null 2>&1
echo -n .
cd dist
zip -9 -q -r ../LuaTelemetry-Taranis-en.zip SCRIPTS/* -x *.lua -x *.dat -x */pics/* -x */horus.luac -x */func_h.luac -x */de/* -x */es/* -x */fr/* -x */lang*.luac
echo -n .
zip -9 -q -r ../LuaTelemetry-Taranis.zip SCRIPTS/* -x *.lua -x *.dat -x */pics/* -x */horus.luac -x */func_h.luac
echo -n .
zip -9 -q -r ../LuaTelemetry-Horus-en.zip SCRIPTS/* WIDGETS/* -x *.lua -x *.dat -x */de/* -x */es/* -x */fr/* -x */lang*.luac -x */alt.luac -x */func_t.luac -x */pilot.luac -x */radar.luac -x */view.luac
echo -n .
zip -9 -q -r ../LuaTelemetry-Horus.zip SCRIPTS/* WIDGETS/* -x *.lua -x *.dat -x */alt.luac -x */func_t.luac -x */pilot.luac -x */radar.luac -x */view.luac
echo -n .
zip -9 -q -r ../LuaTelemetry.zip SCRIPTS/* WIDGETS/* -x *.lua -x *.dat
echo -n .
zip -9 -q ../LuaTelemetry-Taranis-en.zip SCRIPTS/TELEMETRY/iNav.lua
echo -n .
zip -9 -q ../LuaTelemetry-Taranis.zip SCRIPTS/TELEMETRY/iNav.lua
echo -n .
zip -9 -q ../LuaTelemetry-Horus-en.zip SCRIPTS/TELEMETRY/iNav.lua WIDGETS/iNav/main.lua
echo -n .
zip -9 -q ../LuaTelemetry-Horus.zip SCRIPTS/TELEMETRY/iNav.lua WIDGETS/iNav/main.lua
echo -n .
zip -9 -q ../LuaTelemetry.zip SCRIPTS/TELEMETRY/iNav.lua WIDGETS/iNav/main.lua
cd ..
echo " Complete"