-
-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
book:just configs #661
book:just configs #661
Conversation
book:clean install and serve in 1 minute nostr-rs-book.480.mov |
310d537
to
cd03183
Compare
book/justfile
Outdated
rm -rf $(which mdbook) | ||
rm -rf $(which mdbook-linkcheck) | ||
rm -rf $(which mdbook-admonish) | ||
rm -rf $(which mdbook-snippets) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here I would use cargo uninstall
, so will work on every OS.
book/snippets/rust/Cargo.toml
Outdated
nostr-sdk = { version = "*", features = ["all-nips"] } | ||
nostr-relay-builder = "*" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The version here must match the version in the book docs, so 0.37
.
justfile
Outdated
@@ -64,7 +68,7 @@ clean: | |||
|
|||
# Build and serve the book | |||
book: | |||
cd book && just serve | |||
cd book && just build serve |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no need to call build
command when serving. The book is automatically built when running mdbook serve
.
justfile
Outdated
# Build nostr examples | ||
examples: | ||
cargo build --examples --release | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that who want to run an example, build and run only the one is interested in, so this command IMO is not really needed.
thanks for the feedback - I will follow up soon. |
9746f0a
to
9897df9
Compare
|
Thanks, cherry-picked and squashed at 219556e |
No description provided.