Note:
- If you are still not ready for "Compose V2", try
docker-compose
instead ofdocker compose
while we recommend upgrading Docker CLI
See https://docs.docker.com/compose/#compose-v2-and-the-new-docker-compose-command
git clone --recursive https://github.com/picoruby/prk_firmware.git
cd prk_firmware
docker compose build
If you forgot to add --recursive
, you can recover it by git submodule update --init
docker compose run --rm prk rake
docker compose run --rm prk rake clean
git clone https://github.com/picoruby/prk_meishi2.git keyboards/prk_meishi2
docker compose run --rm prk rake build_with_keymap[prk_meishi2]
docker compose run --rm prk rake clean_with_keymap[prk_meishi2]
- To build on M1 Mac, follow the steps below, skipping the
rake mrubyc_test
step to make it buildable.
docker compose build
docker compose run --rm prk rake setup
docker compose run --rm prk rake make_without_test
After all, you may have to read [[Building-a-binary]] when you want to make things clear.