https://github.com/vylsaz/cbqn-win-docker-build
Build CBQN for Windows with Docker
https://github.com/vylsaz/cbqn-win-docker-build
bqn windows
Last synced: 6 months ago
JSON representation
Build CBQN for Windows with Docker
- Host: GitHub
- URL: https://github.com/vylsaz/cbqn-win-docker-build
- Owner: vylsaz
- License: mit
- Created: 2023-06-30T03:06:54.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-05-03T19:19:24.000Z (6 months ago)
- Last Synced: 2025-05-03T20:25:40.862Z (6 months ago)
- Topics: bqn, windows
- Language: Dockerfile
- Homepage:
- Size: 70.3 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cbqn-win-docker-build
Build [CBQN](https://github.com/dzaima/CBQN) for Windows with Docker## Usage
`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:
```powershell
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: `develop`
- `NATIVE`, should all instructions supported by the local machine be enabled, default: `0`
- `REPLXX`, use replxx for the repl, default: `1`
- `VERSION`, 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: `""`Then, you can get bqn.zip by:
```powershell
docker run -v ${PWD}:/out --rm -d winbqn cp /build/out/bqn.zip /out
```Finally, you can remove the image by:
```powershell
docker rmi winbqn
```## License
The 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.