Icon HelpCircleForumIcon Link

⌘K

Icon HelpCircleForumIcon Link
Nightly /
Forc Check

Icon LinkCheck

This will essentially compile the packages without performing the final step of code generation, which is faster than running forc build.

Usage: forc check [OPTIONS] [BUILD_TARGET]

Arguments: [BUILD_TARGET] Build target to use for code generation

[default: fuel] [possible values: fuel, evm, midenvm]

Options:

-p, --path <PATH>

Path to the project, if not specified, current working directory will be used

--offline

Offline mode, prevents Forc from using the network when managing dependencies. Meaning it will only try to use previously downloaded dependencies

--locked

Requires that the Forc.lock file is up-to-date. If the lock file is missing, or it needs to be updated, Forc will exit with an error

-t, --terse

Terse mode. Limited warning and error output

--disable-tests

Disable checking unit tests

--ipfs-node <IPFS_NODE>

The IPFS Node to use for fetching IPFS sources.

Possible values: PUBLIC, LOCAL, <GATEWAY_URL>

--no-encoding-v1

Disable the "new encoding" feature

-v, --verbose...

Use verbose output

-s, --silent

Silence all output

-L, --log-level <LOG_LEVEL>

Set the log level

-h, --help

Print help (see a summary with '-h')

-V, --version

Print version

EXAMPLES:

Icon LinkCheck the current project

forc check

Icon LinkCheck the current project with a different path

forc check --path

Icon LinkCheck the current project without updating dependencies

forc check --locked