Skip to content

Commit

Permalink
Expose reviewer css
Browse files Browse the repository at this point in the history
  • Loading branch information
dae committed Oct 28, 2023
1 parent 6d9fde7 commit 7fdb5e6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build_rust/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ fn build_web_artifacts() -> Result<()> {
.args([
"extract:protoc",
"ts:reviewer:reviewer_extras_bundle.js",
"ts:reviewer:reviewer_extras.css",
"qt:aqt:data:web:pages",
])
.ensure_success()?;
Expand All @@ -81,6 +82,10 @@ fn build_web_artifacts() -> Result<()> {
"anki/out/ts/reviewer/reviewer_extras_bundle.js",
artifacts_dir.join("web/reviewer_extras_bundle.js"),
)?;
copy_file(
"anki/out/ts/reviewer/reviewer_extras.css",
artifacts_dir.join("web/reviewer_extras.css"),
)?;
copy_file(
"anki/cargo/licenses.json",
artifacts_dir.join("web/licenses-cargo.json"),
Expand Down

0 comments on commit 7fdb5e6

Please sign in to comment.