Skip to content

Commit 50c1128

Browse files
committed
release script: Build NSIS installer too
1 parent faad11e commit 50c1128

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

contrib/release/build.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
# - Only work locally, e.g. don't touch existing DJGPP/MinGW setups on the host
5050
#
5151
# TODO:
52-
# - win32: build NSIS installer + fbdoc CHM
52+
# - win32: fbdoc CHM
5353
# - win32/win64: build libcunit too, package the libffi/libcunit builds
5454
#
5555
set -e
@@ -460,6 +460,14 @@ windowsbuild() {
460460
esac
461461
cd ..
462462

463+
if [ "$target" = win32 ]; then
464+
cd fbc/contrib/nsis-installer
465+
cp ../../FreeBASIC-*-win32.zip .
466+
make
467+
cd ../../..
468+
cp fbc/contrib/nsis-installer/FreeBASIC-*-win32.exe ../output
469+
fi
470+
463471
cp fbc/*.zip fbc/*.7z ../output
464472
cp fbc/contrib/manifest/fbc-$target.lst ../output
465473
cp fbc/contrib/manifest/FreeBASIC-$target.lst ../output

0 commit comments

Comments
 (0)