-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.sh
executable file
·33 lines (22 loc) · 880 Bytes
/
package.sh
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
#!/bin/bash
# Exit on error
set -e
# Run build_os3.sh with CLEAN=1
CLEAN=1 ./build_os3.sh
# Copy AmigaGPT executable to bundle directory
cp -R out/AmigaGPT bundle/AmigaGPT/AmigaGPT
# Run build_os4.sh with CLEAN=1
CLEAN=1 ./build_os4.sh
# Copy AmigaGPT_OS4 executable to bundle directory
cp -R out/AmigaGPT_OS4 bundle/AmigaGPT/AmigaGPT_OS4
# Run build_morphos.sh with CLEAN=1
CLEAN=1 ./build_morphos.sh
# Copy AmigaGPT_MorphOS executable to bundle directory
cp -R out/AmigaGPT_MorphOS bundle/AmigaGPT/AmigaGPT_MorphOS
# Change directory to bundle directory
cd bundle
# Delete LHA archive if exists
rm -f ../out/AmigaGPT.lha
# Create LHA archive with verbose output
lha a -v ../out/AmigaGPT.lha AmigaGPT AmigaGPT.info
rm -f AmigaGPT/AmigaGPT AmigaGPT/AmigaGPT.info AmigaGPT/AmigaGPT_OS4 AmigaGPT/AmigaGPT_OS4.info AmigaGPT/AmigaGPT_MorphOS AmigaGPT/AmigaGPT_MorphOS.info