Anki/tools
Damien Elmes 9701055eb5 Add support for using n2 instead of ninja
Provides better visibility into what the build is currently doing.
Motivated by slow node.js downloads making the build appear stuck.

You can test this out by running ./tools/install-n2 then building
normally. Please report any problems, and 'cargo uninstall n2' to get
back to the old behaviour. It works on Windows, but prints a new line
each second instead of redrawing the same area.

A couple of changes were required for compatibility:

- n2 doesn't resolve $variable names inside other variables, so the
resolution needs to be done by our build generator.
- Our inputs and outputs in build.ninja need to be listed in a deterministic
order to avoid unwanted rebuilds. I've made a few other tweaks so the
build file should now be fully-deterministic.
2023-06-15 17:17:56 +10:00
..
minilints Automate schema 11 other duplicates clearing (#2542) 2023-06-12 11:14:14 +10:00
workspace-hack Update hakari and licenses 2023-05-29 17:54:00 +10:00
build Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
build.bat Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
dmypy Migrate pylib/anki qt/aqt to group syntax (eg pylib:anki) 2023-06-15 17:17:55 +10:00
install-n2 Add support for using n2 instead of ninja 2023-06-15 17:17:56 +10:00
mac-x86 Add helper script for Intel cross compile on ARM Mac 2023-04-12 15:48:31 +10:00
ninja.bat Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
rebuild-web Add dev tools for live-reloading Anki's web views (#2151) 2023-01-03 11:55:58 +10:00
reload_webviews.py Add dev tools for live-reloading Anki's web views (#2151) 2023-01-03 11:55:58 +10:00
run-qt5.14 Migrate pylib/anki qt/aqt to group syntax (eg pylib:anki) 2023-06-15 17:17:55 +10:00
run-qt5.15 Migrate pylib/anki qt/aqt to group syntax (eg pylib:anki) 2023-06-15 17:17:55 +10:00
run-qt5.15.bat Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
run.py Update dockerfile 2022-11-27 16:45:50 +10:00
runopt Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
setup-env.bat Fix setup-env.bat (#1659) 2022-02-12 10:10:24 +10:00
ts-run Migrate to protobuf-es (#2547) 2023-06-14 22:47:37 +10:00
web-watch Add dev tools for live-reloading Anki's web views (#2151) 2023-01-03 11:55:58 +10:00