Note: This is not required to build or run red from sources. It is for a feature used by the red team. Check the main readme if you want to build red from sources
Prerequisite
You need a Rebol SDK copy with a valid license file in order to rebuild the Red binary, this is a constraint from using Rebol2 for the bootstrapping. Once selfhosted, Red will not have such constraint.
In order to build a Red binary:
-
Place a copy of one of the encappers ( enpro would be a right choice) along with a copy of license.key file into the %build/ folder.
-
Make a copy of encap-paths.r.sample file and name it encap-paths.r.
-
Edit encap-paths.r file and adjust the paths to your Rebol SDK folders.
-
Open a Rebol console, and CD to the %build/ folder.
>> change-dir %<path-to-Red>/build/
-
Run the build script from the console:
>> do %build.r
-
After a few seconds, a new red binary will be available in the build/bin/ folder.
-
Enjoy!