Check the current or target project and all of its dependencies for errors.
This will essentially compile the packages without performing the final step of code generation, which is faster than running forc build.
forc check [OPTIONS] [BUILD_TARGET]
<BUILD_TARGET> Build target to use for code generation
[default: fuel] [possible values: fuel, evm, midenvm]
--disable-tests
Disable checking unit tests
-h
, --help
Print help information
--ipfs-node
<IPFS_NODE>
The IPFS Node to use for fetching IPFS sources.
Possible values: PUBLIC, LOCAL, <GATEWAY_URL>
-L
, --log-level
<LOG_LEVEL>
Set the log level
--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
--offline
Offline mode, prevents Forc from using the network when managing dependencies. Meaning it will only try to use previously downloaded dependencies
-p
, --path
<PATH>
Path to the project, if not specified, current working directory will be used
-s
, --silent
Silence all output
-t
, --terse
Terse mode. Limited warning and error output
-v
, --verbose
Use verbose output