2021-02-01 08:29:03 +01:00
|
|
|
#!/bin/bash
|
|
|
|
#
|
|
|
|
# semi-working support for mypy daemon
|
|
|
|
# - install fs_watch
|
|
|
|
# - build anki/aqt wheels first
|
|
|
|
# - create a new venv and activate it
|
|
|
|
# - install the wheels
|
|
|
|
# - then run this script from this folder
|
|
|
|
|
|
|
|
(sleep 1 && touch aqt)
|
|
|
|
. ~/pyenv/bin/activate
|
2021-02-01 14:28:21 +01:00
|
|
|
fswatch -o aqt | xargs -n1 -I{} sh -c 'printf \\033c\\n; dmypy run aqt'
|
2021-02-01 08:29:03 +01:00
|
|
|
|