Skip to content

Commit

Permalink
ci: fix lints
Browse files Browse the repository at this point in the history
  • Loading branch information
dj8yf0μl committed Feb 6, 2025
1 parent 3a6d9ca commit 4a4f2e4
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ pub struct BuildOpts {
///
/// Running with `--locked` will fail, if
/// 1. the contract's crate doesn't have a Cargo.lock file,
/// which locks in place the versions of all of the contract's dependencies (and, recursively, dependencies of dependencies ...)
/// or
/// which locks in place the versions of all of the contract's dependencies
/// (and, recursively, dependencies of dependencies ...), or
/// 2. if it has Cargo.lock file, but it needs to be updated (happens if Cargo.toml manifest was updated)
/// This just passes `--locked` to all downstream `cargo` commands being called.
/// This just passes `--locked` to all downstream `cargo` commands being called.
#[interactive_clap(long)]
#[interactive_clap(verbatim_doc_comment)]
pub locked: bool,
Expand All @@ -24,28 +24,28 @@ pub struct BuildOpts {
pub no_release: bool,
/// Do not generate ABI for the contract, which is generated by default
///
/// More info about near ABI can be found here: https://github.com/near/abi.
/// More info about near ABI can be found here: [near/ABI](https://github.com/near/abi).
/// Default build runs in a few steps:
/// 1. runs the equivalent of `cargo near abi`, generating a `*.json` file.
/// 2. compresses `*.json` obtained in step (1.) into `*.zst` file.
/// 3. runs `cargo build --target wasm32-unknown-unknown` and embeds `*.zst` file from step (2.)
/// into contract's result `*.wasm` file at the same time.
/// into contract's result `*.wasm` file at the same time.
///
/// Specifying the flag results in only step (3.) being run without embedding any `*.zst` with ABI data.
#[interactive_clap(verbatim_doc_comment)]
#[interactive_clap(long)]
pub no_abi: bool,
/// Generates `*.json` ABI file but does NOT embed it into the contract's result `*.wasm` binary
///
/// More info about near ABI can be found here: https://github.com/near/abi.
/// More info about near ABI can be found here: [near/ABI](https://github.com/near/abi).
#[interactive_clap(verbatim_doc_comment)]
#[interactive_clap(long)]
pub no_embed_abi: bool,
/// Do not include rustdocs in the embedded ABI
///
/// Specifying this flag results in not including human-readable documentation strings
/// parsed from source code into ABI.
/// More info about near ABI can be found here: https://github.com/near/abi.
/// More info about near ABI can be found here: [near/ABI](https://github.com/near/abi).
#[interactive_clap(verbatim_doc_comment)]
#[interactive_clap(long)]
pub no_doc: bool,
Expand Down

0 comments on commit 4a4f2e4

Please sign in to comment.