parent
fb4501e9b3
commit
1e61d1c538
|
@ -3,7 +3,9 @@
|
||||||
|
|
||||||
Automatically rebuild and restart the application when source files change.
|
Automatically rebuild and restart the application when source files change.
|
||||||
CONFIG+=dev will be passed to qmake, see moment.pro.
|
CONFIG+=dev will be passed to qmake, see moment.pro.
|
||||||
Arguments will be passed to the app, see `moment --help`.
|
The application will be launched with `-name dev`, which sets the first
|
||||||
|
part of the WM_CLASS as returned by xprop on Linux.
|
||||||
|
Any other arguments will be passed to the app, see `moment --help`.
|
||||||
|
|
||||||
Use `pip3 install --user -U requirements-dev.txt` before running this."""
|
Use `pip3 install --user -U requirements-dev.txt` before running this."""
|
||||||
|
|
||||||
|
@ -56,7 +58,7 @@ def run_app(args=sys.argv[1:]) -> None:
|
||||||
with suppress(KeyboardInterrupt):
|
with suppress(KeyboardInterrupt):
|
||||||
cmd(QMAKE_CMD, "moment.pro", "CONFIG+=dev")
|
cmd(QMAKE_CMD, "moment.pro", "CONFIG+=dev")
|
||||||
cmd("make")
|
cmd("make")
|
||||||
cmd("./moment", *args)
|
cmd("./moment", "-name", "dev", *args)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
Loading…
Reference in New Issue
Block a user