1
0
Fork 0
dosbox-staging/scripts
krcroft 0f11ab8ecb Refactor the build and list-packages scripts
Until now the build and package scripts have supported
several architectures, compilers, build types, package-managers,
and bit-depth targets.

The code might be maintainable if left as-such, however we have plans
to continue expanding the number of architectures (ARM, PPC, ... ),
operating systems (Android, BSDs, ...), and build variations
amung those.

The scripts (regardless of language) would only grow in complexity
as more variations are added. Thus, we needed a solution that can
scale without adding complexity.

To achieve this, the scripts were refactored as follows:
 - all "data" was moved out of code into configuration files
 - A back-end "Automator" engine was written to parse the
   data based on generic variables fed to it by a front-end
   script
 - build.sh and list-packages.sh were re-authored as thin front-end
   scripts that drive the automator
 - Their CLI's were retained so there has been very little change
   needed to the CI invocation lines.  The only changes have been to
   clarify the existing arguments improved based on feedback, ie:
   --build-type release, --build-type debug instead of fast, small
2019-11-24 15:16:44 +01:00
..
automator Refactor the build and list-packages scripts 2019-11-24 15:16:44 +01:00
import-from-svn Replace an authorsfile with a script 2019-10-08 10:56:16 +02:00
.gitignore Import svn:ignore props to .gitignore files 2019-09-15 20:34:57 +02:00
build.md Refactor the build and list-packages scripts 2019-11-24 15:16:44 +01:00
build.sh Refactor the build and list-packages scripts 2019-11-24 15:16:44 +01:00
captures.bat Installer improvements 2010-05-12 08:13:46 +00:00
count-bugs.py Allow maximum-issues to be set via command-line 2019-11-24 15:16:44 +01:00
count-warnings.py Allow maximum-issues to be set via command-line 2019-11-24 15:16:44 +01:00
dosbox-installer.nsi Update year and address of FSF 2019-01-25 14:09:58 +00:00
editconf.bat Installer improvements 2010-05-12 08:13:46 +00:00
ega-switch.pl First CVS upload. 2002-07-27 13:08:48 +00:00
font-switch.pl First CVS upload. 2002-07-27 13:08:48 +00:00
git-rlog.sh Add alternative for git-log for SVN users 2019-10-08 10:56:16 +02:00
list-build-dependencies.sh Refactor the build and list-packages scripts 2019-11-24 15:16:44 +01:00
log-env.ps1 Log environment on CI machines 2019-10-26 00:52:03 +02:00
log-env.sh Log environment on CI machines 2019-10-26 00:52:03 +02:00
msys-bash.py Propagate return code in the msys2 bash wrapper 2019-11-14 23:17:54 +01:00
resetconf.bat Installer improvements 2010-05-12 08:13:46 +00:00
resetmapper.bat Installer improvements 2010-05-12 08:13:46 +00:00
unifdef-all.sh Implement unifdef-all script 2019-09-16 06:20:18 +02:00
verify-bash.sh Colorize linter output 2019-11-16 02:27:24 +01:00
verify-python.sh Force python3 pylint 2019-11-16 02:27:24 +01:00