Anki is a smart spaced repetition flashcard program
Find a file
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
.buildkite Migrate pylib/anki qt/aqt to group syntax (eg pylib:anki) 2023-06-15 17:17:55 +10:00
.cargo Move protobuf generation into a separate crate; write .py interface in Rust 2023-06-12 09:52:00 +10:00
.config Update Rust deps 2023-03-31 14:38:24 +10:00
.github/ISSUE_TEMPLATE Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
.vscode.dist Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
build Add support for using n2 instead of ninja 2023-06-15 17:17:56 +10:00
cargo Update hakari and licenses 2023-05-29 17:54:00 +10:00
docs Migrate pylib/anki qt/aqt to group syntax (eg pylib:anki) 2023-06-15 17:17:55 +10:00
ftl Update translations 2023-06-07 16:26:06 +10:00
proto Migrate to protobuf-es (#2547) 2023-06-14 22:47:37 +10:00
pylib Migrate to protobuf-es (#2547) 2023-06-14 22:47:37 +10:00
python Update requests for CVE 2023-05-24 16:09:15 +10:00
qt Migrate to protobuf-es (#2547) 2023-06-14 22:47:37 +10:00
rslib Add support for using n2 instead of ninja 2023-06-15 17:17:56 +10:00
sass Migrate to protobuf-es (#2547) 2023-06-14 22:47:37 +10:00
tools Add support for using n2 instead of ninja 2023-06-15 17:17:56 +10:00
ts Migrate to protobuf-es (#2547) 2023-06-14 22:47:37 +10:00
.deny.toml Update Rust deps (#2332) 2023-01-18 22:24:29 +10:00
.dprint.json Experiment with disabling prettier whitespace sensitivity 2023-06-01 11:11:26 +10:00
.eslintrc.js Upgrade Svelte (#2506) 2023-05-18 17:04:58 +10:00
.gitattributes try again to improve GitHub's language stats 2021-01-20 13:20:45 +10:00
.gitignore Add support for using n2 instead of ninja 2023-06-15 17:17:56 +10:00
.gitmodules Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
.isort.cfg Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
.mypy.ini Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
.pylintrc Add ability to restore a notetype to its original configuration (#2472) 2023-04-18 14:07:51 +10:00
.rustfmt-empty.toml Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
.rustfmt.toml Move ascii_percent_encoding into a separate repo 2023-04-12 08:45:23 +10:00
.version Bump version 2023-06-05 09:20:00 +10:00
Cargo.lock Add support for using n2 instead of ninja 2023-06-15 17:17:56 +10:00
Cargo.toml Split io.rs into separate crate, and use it in proto build 2023-06-12 15:47:51 +10:00
CONTRIBUTORS Making phrasing more clear in dialog which lets user choose a deck to display options for. (#2522) 2023-05-26 12:50:38 +10:00
LICENSE move aqt_data into source folder; implement wheel building 2020-11-04 12:14:03 +10:00
ninja Add env var to enable sourcemaps 2022-12-04 11:37:16 +10:00
package.json Migrate to protobuf-es (#2547) 2023-06-14 22:47:37 +10:00
pkgkey.asc add public key for release signing 2018-09-18 10:40:45 +10:00
README.md Add link to website in README 2023-05-31 13:49:19 +10:00
run Migrate pylib/anki qt/aqt to group syntax (eg pylib:anki) 2023-06-15 17:17:55 +10:00
run.bat Migrate pylib/anki qt/aqt to group syntax (eg pylib:anki) 2023-06-15 17:17:55 +10:00
rust-toolchain.toml Update to Rust 1.70 2023-06-07 14:52:31 +10:00
SECURITY.md add SECURITY.md 2021-09-22 22:55:19 +10:00
yarn.lock Migrate to protobuf-es (#2547) 2023-06-14 22:47:37 +10:00

Anki

Build status

This repo contains the source code for the computer version of Anki.

If you'd like to try development builds of Anki but don't feel comfortable building the code, please see https://betas.ankiweb.net/

For more information on building, please see Development.