Skip to content

Commit

Permalink
Bump to 0.2.16
Browse files Browse the repository at this point in the history
  • Loading branch information
willcrichton committed Sep 20, 2023
1 parent b2df881 commit a72d9c5
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ cp crates/mdbook-quiz-schema/bindings/* js/packages/quiz/src/bindings

# Watch
[tasks.watch]
script = "cargo watch -x 'install --path . --debug --offline --features rust-editor --features source-map' -w src -w js/packages/quiz-embed/dist --ignore-nothing"
script = "cargo watch -x 'install --path crates/mdbook-quiz --debug --offline --features rust-editor --features source-map' -w src -w js/packages/quiz-embed/dist --ignore-nothing"

[tasks.watch.run_task]
name = ["watch-cargo"]
Expand Down
2 changes: 1 addition & 1 deletion crates/mdbook-quiz/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "mdbook-quiz"
authors = ["Will Crichton <[email protected]>"]
description = "Interactive quizzes for your mdBook"
license = "MIT OR Apache-2.0"
version = "0.2.15"
version = "0.2.16"
edition = "2021"
include = ["/src", "/js"]
repository = "https://github.com/cognitive-engineering-lab/mdbook-quiz"
Expand Down
3 changes: 2 additions & 1 deletion crates/mdbook-quiz/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,8 @@ impl QuizPreprocessor {
content_toml = fs::read_to_string(&quiz_path_abs)?;
}

let content = content_toml.parse::<toml::Value>()?;
#[allow(unused_mut)]
let mut content = content_toml.parse::<toml::Value>()?;

#[cfg(feature = "aquascope")]
self.add_aquascope_blocks(&mut content)?;
Expand Down
2 changes: 1 addition & 1 deletion js/packages/quiz/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wcrichto/quiz",
"version": "0.2.15",
"version": "0.2.16",
"files": [
"dist"
],
Expand Down

0 comments on commit a72d9c5

Please sign in to comment.