-
-
Notifications
You must be signed in to change notification settings - Fork 97
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
base: master
Are you sure you want to change the base?
book:just configs #661
Conversation
cd book && just clean build serve
saves install time
book:clean install and serve in 1 minute nostr-rs-book.480.mov |
7b05485
to
310d537
Compare
clean mdbook depends
cd book && just build serve
310d537
to
cd03183
Compare
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.
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
.
@@ -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
.
# 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.
No description provided.