We need to ensure that the build toolchain uses the correct version of the ALAN binaries — latest stable Beta on master, and latest Alpha SKD in dev branches.
[ ] In the repo's root add a version-info.sh script that defines two variables containing a string of which ALAN SDK version should be used for Beta and Alpha builds (e.g. $AlanBeta and $AlanAlpha) — this script should then be sourced by init-env.sh, so that these vars become globally available to all the toolchain scripts via the working environment initialization.
[ ] In assets/ create a bin/ folder to host precompiled binaries dependencies:
[ ] Decide a folder naming scheme to organize ALAN binaries for the different OSs and between Beta and Alpha SDKs (initially, add only Win OS binaries support).
E.g. bin/alanSDK/beta/ and bin/alanSDK/alpha/, and inside them binWin, binMac and binUnx/binNix.
[ ] In each OS-specific bin-folder, add a script that fetches and unpacks the required precompiled SDKs packages (initially, only for Win OS).
The Git for Windows Bash ships with cURL and Tar, so we can safely use these tools, which are also available on all other OSs.
[ ] Source the version-info.sh script (see above) to obtain the variables pointing to the required ALAN SDKs versions for Beta and Alpha builds.
[ ] Add an invocation parameter or an internal variable to switch from Beta to Alpha ALAN binaries, so that we can easily and safely tweak the scripts in dev branches without affecting the toolchain on master.
[ ] Check if on the user path the correct version of the ALAN binaries are present, and if not:
[ ] Invoke the required ALAN binaries downloader script (see above).
We need to ensure that the build toolchain uses the correct version of the ALAN binaries — latest stable Beta on
master
, and latest Alpha SKD in dev branches.version-info.sh
script that defines two variables containing a string of which ALAN SDK version should be used for Beta and Alpha builds (e.g.$AlanBeta
and$AlanAlpha
) — this script should then be sourced byinit-env.sh
, so that these vars become globally available to all the toolchain scripts via the working environment initialization.assets/
create abin/
folder to host precompiled binaries dependencies:bin/alanSDK/beta/
andbin/alanSDK/alpha/
, and inside thembinWin
,binMac
andbinUnx
/binNix
.init-env.sh
— during work-env initialization:version-info.sh
script (see above) to obtain the variables pointing to the required ALAN SDKs versions for Beta and Alpha builds.master
.