refactoring

This commit is contained in:
Devaev Maxim
2019-04-13 06:18:33 +03:00
parent 5bf758e232
commit 0c82937d3c
9 changed files with 110 additions and 85 deletions

View File

@@ -49,8 +49,12 @@ shell:
make _run_cmd CMD=/bin/bash
regen:
python3 genmap.py
regen: _testenv
for file in kvmd/data/keymap.yaml hid/src/keymap.h; do \
docker run --user `id -u`:`id -g` --rm \
--volume `pwd`:/src \
-it $(TESTENV_IMAGE) bash -c "cd src && ./genmap.py keymap.in $$file.mako $$file"; \
done
release: