diff options
author | Devaev Maxim <[email protected]> | 2020-07-14 12:28:57 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-07-14 12:28:57 +0300 |
commit | 9b3e1137722276cb471a24591f8b8ab7adaca276 (patch) | |
tree | b72b0acc98e6ed8eba9b06c3e2861608695b9dbc /Makefile | |
parent | e2f2e8b3595f475222dc11067ef33bfbf410711d (diff) |
pug
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 22 |
1 files changed, 17 insertions, 5 deletions
@@ -132,11 +132,23 @@ run-vnc: testenv regen: testenv - for file in kvmd/keyboard/mappings.py 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 + docker run --user `id -u`:`id -g` --rm \ + --volume `pwd`:/src \ + -it $(TESTENV_IMAGE) bash -c "cd src \ + && ./genmap.py keymap.in kvmd/keyboard/mappings.py.mako kvmd/keyboard/mappings.py \ + && ./genmap.py keymap.in hid/src/keymap.h.mako hid/src/keymap.h \ + " + + +pug: testenv + docker run --user `id -u`:`id -g` --rm \ + --volume `pwd`:/src \ + -it $(TESTENV_IMAGE) bash -c "cd src \ + && pug --pretty web/index.pug -o web \ + && pug --pretty web/login/index.pug -o web/login \ + && pug --pretty web/ipmi/index.pug -o web/ipmi \ + && pug --pretty web/vnc/index.pug -o web/vnc \ + " release: |