autoreload.py: mirage -> moment
This commit is contained in:
parent
911f7732cd
commit
e2fa1e82f8
|
@ -2,10 +2,10 @@
|
||||||
"""Usage: ./autoreload.py [MIRAGE_ARGUMENTS]...
|
"""Usage: ./autoreload.py [MIRAGE_ARGUMENTS]...
|
||||||
|
|
||||||
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 mirage.pro.
|
CONFIG+=dev will be passed to qmake, see moment.pro.
|
||||||
The application will be launched with `-name dev`, which sets the first
|
The application will be launched with `-name dev`, which sets the first
|
||||||
part of the WM_CLASS as returned by xprop on Linux.
|
part of the WM_CLASS as returned by xprop on Linux.
|
||||||
Any other arguments will be passed to the app, see `mirage --help`.
|
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."""
|
||||||
|
|
||||||
|
@ -50,9 +50,9 @@ def run_app(args=sys.argv[1:]) -> None:
|
||||||
print("\n\x1b[36m", "─" * term_size().columns, "\x1b[0m\n", sep="")
|
print("\n\x1b[36m", "─" * term_size().columns, "\x1b[0m\n", sep="")
|
||||||
|
|
||||||
with suppress(KeyboardInterrupt):
|
with suppress(KeyboardInterrupt):
|
||||||
cmd("qmake", "mirage.pro", "CONFIG+=dev")
|
cmd("qmake", "moment.pro", "CONFIG+=dev")
|
||||||
cmd("make")
|
cmd("make")
|
||||||
cmd("./mirage", "-name", "dev", *args)
|
cmd("./moment", "-name", "dev", *args)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
Loading…
Reference in New Issue
Block a user