Build CBQN for Windows with Docker
cd to the folder where you can find this README and Dockerfiles.
For example, if you want to call your image "winbqn", you want to build with:
docker build -t winbqn .You can pass in arguments by adding --build-arg ARG=VALUE to the command. The arguments are:
BRANCH, the git branch of dzaima/CBQN to clone from, default:developNATIVE, should all instructions supported by the local machine be enabled, default:0REPLXX, use replxx for the repl, default:1VERSION, the version to report by CBQN, default:""(use commit hash)EXE_OPTS, other options for build when building the executable, default:""DLL_OPTS, other options for build when building the shared library, default:""LIB_OPTS, other options for build when building the static library, default:""CACHEBUST, set to value like"$(Get-Date)"to avoid caching ofgit cloneby docker
Then, you can get bqn.zip by:
docker run -v ${PWD}:/out --rm -d winbqn cp /build/out/bqn.zip /outFinally, you can remove the image by:
docker rmi winbqnThe BQN logo (BQN.ico) is licensed ISC. Other files are licensed MIT.
Under licenses/ are licenses to be distributed with the CBQN binary.
CBQN is dual-licensed LGPLv3 and MPL2, you can choose one.