Skip to content

Latest commit

 

History

History
54 lines (37 loc) · 1.22 KB

Docker.md

File metadata and controls

54 lines (37 loc) · 1.22 KB

Quick usage

Note:

Setup

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

Build

docker compose run --rm prk rake

Clean

docker compose run --rm prk rake clean

Build with keymap (meishi2 for example)

git clone https://github.com/picoruby/prk_meishi2.git keyboards/prk_meishi2
docker compose run --rm prk rake build_with_keymap[prk_meishi2]

Clean

docker compose run --rm prk rake clean_with_keymap[prk_meishi2]

docker on M1 Mac

  • 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

Haste makes waste

After all, you may have to read [[Building-a-binary]] when you want to make things clear.