Skip to content

Commit

Permalink
Script for release build.
Browse files Browse the repository at this point in the history
Removal of unnecessary debug output.
  • Loading branch information
Franticware committed Mar 24, 2024
1 parent 027070b commit 0a56b43
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 1 deletion.
26 changes: 26 additions & 0 deletions mkrel/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#!/bin/bash
rm -rf OpenMRac
rm -rf OpenMRac-data
rm -rf release
rm *.exe
rm *.dat
read -p "Press enter to continue, Ctrl+C to quit"
mkdir release
mkdir release/openmrac
cp readme.txt release/openmrac || exit
git clone https://github.com/Franticware/OpenMRac-data.git
cd OpenMRac-data
make
cp openmrac.dat ../release/openmrac || exit
cd ..
git clone https://github.com/Franticware/OpenMRac.git --branch dos-3dfx --recursive
cd OpenMRac/src/djgpp/
./prereq.sh
cd ..
make -f Makefile.djgpp
cp openmrac.exe set3dfx.exe ../../release/openmrac || exit
cd ../../release
7z a openmrac-$(date +'%Y%m%d')-dos openmrac
cd ../OpenMRac
git log -1 | cat
cd ..
11 changes: 11 additions & 0 deletions mkrel/readme.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
OpenMRac for DOS by Franticware

License for the program: BSD-2-Clause license
License for the data: CC0-1.0 license

Check the following links for more information:
https://github.com/Franticware/OpenMRac
https://github.com/Franticware/OpenMRac-data
https://www.franticware.com/openmrac

This software is based in part on the work of the Independent JPEG Group.
1 change: 0 additions & 1 deletion src/minial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ ALCcontext* alcCreateContext(const ALCdevice* device, const ALCint* attrlist)
{
if (!alcContext->minialInterface->valid())
{
printf("a%d\n", __LINE__);
delete alcContext->minialInterface;
delete alcContext;
return 0;
Expand Down

0 comments on commit 0a56b43

Please sign in to comment.