File tree Expand file tree Collapse file tree 1 file changed +0
-28
lines changed Expand file tree Collapse file tree 1 file changed +0
-28
lines changed Original file line number Diff line number Diff line change 1
- #! /bin/bash
2
-
3
- set -xeu -o pipefail
4
-
5
- bin_dir=" $( realpath $bin_dir ) "
6
-
7
- # release?
8
- if [ -n " $TRAVIS_TAG " ]; then # tag found: releasing
9
- version=" $TRAVIS_TAG "
10
-
11
- # data
12
- dat=" $mod_name .dat"
13
- mkdir -p " $mods_dir "
14
-
15
- cd data
16
- rm -rf text/po # gettext translations
17
- # I don't know how to pack recursively
18
- find . -type f | sed -e ' s|^\.\/||' -e ' s|\/|\\|g' | sort > ../file.list # replace slashes with backslashes
19
- WINEARCH=win32 WINEDEBUG=-all wine " $bin_dir /dat2.exe" a $dat @../file.list
20
- cd ..
21
- mv " data/$dat " " $mods_dir /"
22
-
23
- # sfall
24
- sfall_url=" https://sourceforge.net/projects/sfall/files/sfall/sfall_$sfall_version .7z/download"
25
- wget -q " $sfall_url " -O sfall.7z
26
- 7zr e sfall.7z ddraw.dll
27
- zip -r " ${mod_name} _${version} .zip" ddraw.dll " $mods_dir /" # our package
28
- fi
You can’t perform that action at this time.
0 commit comments