Skip to content

Commit

Permalink
ci: draw
Browse files Browse the repository at this point in the history
  • Loading branch information
dcai committed Oct 29, 2023
1 parent 1a1ec7c commit 9a6d625
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/draw-keymaps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ jobs:
shell: bash
run: |
make pipx-keymap
make draw-sweep
make draw-reviung34
make draw-reviung5
make
- name: git commit
uses: stefanzweifel/git-auto-commit-action@v5
with:
Expand Down
9 changes: 6 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
all: draw-sweep draw-reviung34 draw-reviung5

draw-sweep:
keymap parse -z config/cradio.keymap > ./assets/sweep-keymap.yaml
keymap draw ./assets/sweep-keymap.yaml >./assets/sweep-keymap.svg

install-keymap:
virtualenv venv
pip3 install keymap-drawer --upgrade
install:
test -d venv || python3 -m venv ./venv
. ./venv/bin/activate
pip3 install -Ur requirements.txt

pipx-keymap:
pipx install keymap-drawer
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
keymap-drawer==0.12.1

0 comments on commit 9a6d625

Please sign in to comment.