mirror of
https://github.com/ankitects/anki.git
synced 2025-11-08 05:37:12 -05:00
Anki is a smart spaced repetition flashcard program
An esbuild rule that ran fine in a local repo (eg bazel build //:my_esbuild_rule)
fails when built externally (eg bazel build @other_workspace//:my_esbuild_rule).
By prepending the workspace root to the bin path, the resulting base
URL works correctly in both local and remote repo invocations, allowing
esbuild output to be consumed by a different repo.
This change fixes remote repos in Bazel 4.0.0. 3.7.0 seems to require a
workspace_root.replace("external/", "") call first in order
to get the correct location. So while this patch should not break anything
that was not already broken, it only fixes/adds support for remote repos
in 4.0+.
|
||
|---|---|---|
| .buildkite | ||
| .github/ISSUE_TEMPLATE | ||
| cargo | ||
| docs | ||
| ftl | ||
| pip | ||
| platforms | ||
| pylib | ||
| qt | ||
| rslib | ||
| scripts | ||
| ts | ||
| .bazelignore | ||
| .bazelrc | ||
| .bazelversion | ||
| .gitattributes | ||
| .gitignore | ||
| bazel.bat | ||
| BUILD.bazel | ||
| Cargo.lock | ||
| Cargo.toml | ||
| CONTRIBUTORS | ||
| defs.bzl | ||
| late_deps.bzl | ||
| LICENSE | ||
| pkgkey.asc | ||
| protobuf.bzl | ||
| python.bzl | ||
| README.md | ||
| repos.bzl | ||
| run | ||
| run.bat | ||
| WORKSPACE | ||
Anki
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.