diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..9563a681 --- /dev/null +++ b/Makefile @@ -0,0 +1,2 @@ +build: build.sh + bash ./build.sh diff --git a/README.md b/README.md index 50cb2817..5e6b096e 100644 --- a/README.md +++ b/README.md @@ -11,3 +11,7 @@ Check out the website to learn more: https://zmk.dev/ You can also come join our [ZMK Discord Server](https://zmk.dev/community/discord/invite) To review features, check out the [feature overview](https://zmk.dev/docs/). ZMK is under active development, and new features are listed with the [enhancement label](https://github.com/zmkfirmware/zmk/issues?q=is%3Aissue+is%3Aopen+label%3Aenhancement) in GitHub. Please feel free to add 👍 to the issue description of any requests to upvote the feature. + +## My build command + +For Aurora Lily58 in https://github.com/narze/zmk-config, run `make` in Devcontainer diff --git a/build.sh b/build.sh new file mode 100755 index 00000000..759859b0 --- /dev/null +++ b/build.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +SIDES=(left right) +for side in ${SIDES[@]} +do + west build -b nice_nano_v2 -s /workspaces/zmk/app -d /workspaces/zmk-config/build/aurora_lily58_$side.build -- -DSHIELD="splitkb_aurora_lily58_$side nice_view_adapter nice_view" -DZMK_CONFIG="/workspaces/zmk-config/config" + cp /workspaces/zmk-config/build/aurora_lily58_$side.build/zephyr/zmk.uf2 /workspaces/zmk-config/build/aurora_lily58_$side.uf2 +done