Skip to content

Commit

Permalink
removed duplicate link definition in md file
Browse files Browse the repository at this point in the history
  • Loading branch information
ingridnovak committed May 19, 2024
1 parent a84216a commit b91bcd6
Showing 1 changed file with 20 additions and 22 deletions.
42 changes: 20 additions & 22 deletions versioned_docs/version-1/reference/spark/spark-build.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ The model checker will run when `spark build` is invoked, and will show findings

#### Linker Options

`--libraries` *libraries*
`--libraries` _libraries_
    Set pre-linked libraries.

&nbsp;&nbsp;&nbsp;&nbsp;The parameter must be in the format `<remapped path to lib>:<library name>:<address>`, e.g. `src/Contract.sol:Library:0x...`.
Expand All @@ -204,7 +204,7 @@ The model checker will run when `spark build` is invoked, and will show findings
`--optimize`
&nbsp;&nbsp;&nbsp;&nbsp;Activate the Solidity optimizer.

`--optimizer-runs` *runs*
`--optimizer-runs` _runs_
&nbsp;&nbsp;&nbsp;&nbsp;The number of optimizer runs.

`--via-ir`
Expand All @@ -213,7 +213,7 @@ The model checker will run when `spark build` is invoked, and will show findings
`--revert-strings`
&nbsp;&nbsp;&nbsp;&nbsp;How to treat revert and require reason strings.

`--use` *solc_version*
`--use` _solc_version_
&nbsp;&nbsp;&nbsp;&nbsp;Specify the solc version, or a path to a local solc, to build with.

&nbsp;&nbsp;&nbsp;&nbsp;Valid values are in the format `x.y.z`, `solc:x.y.z` or `path/to/solc`.
Expand All @@ -224,65 +224,63 @@ The model checker will run when `spark build` is invoked, and will show findings
`--no-auto-detect`
&nbsp;&nbsp;&nbsp;&nbsp;Do not auto-detect solc.

`--ignored-error-codes` *error_codes*
`--ignored-error-codes` _error_codes_
&nbsp;&nbsp;&nbsp;&nbsp;Ignore solc warnings by error code. The parameter is a comma-separated list of error codes.

`--extra-output` *selector*
`--extra-output` _selector_
&nbsp;&nbsp;&nbsp;&nbsp;Extra output to include in the contract's artifact.

&nbsp;&nbsp;&nbsp;&nbsp;Example keys: `abi`, `storageLayout`, `evm.assembly`, `ewasm`, `ir`, `ir-optimized`, `metadata`.

&nbsp;&nbsp;&nbsp;&nbsp;For a full description, see the [Solidity docs][output-desc].

`--extra-output-files` *selector*
`--extra-output-files` _selector_
&nbsp;&nbsp;&nbsp;&nbsp;Extra output to write to separate files.

&nbsp;&nbsp;&nbsp;&nbsp;Example keys: `abi`, `storageLayout`, `evm.assembly`, `ewasm`, `ir`, `ir-optimized`, `metadata`.

&nbsp;&nbsp;&nbsp;&nbsp;For a full description, see the [Solidity docs][output-desc].

`--evm-version` *version*
`--evm-version` _version_
&nbsp;&nbsp;&nbsp;&nbsp;The target EVM version.

[output-desc]: https://docs.soliditylang.org/en/latest/using-the-compiler.html#compiler-api

#### Project Options

`--build-info`
&nbsp;&nbsp;&nbsp;&nbsp;Generate build info files.

`--build-info-path` *path*
`--build-info-path` _path_
&nbsp;&nbsp;&nbsp;&nbsp;Output path to directory that build info files will be written to.

`--root` *path*
`--root` _path_
&nbsp;&nbsp;&nbsp;&nbsp;The project's root path. By default, this is the root directory of the current git repository, or the current working directory.

`-C` *path*
`--contracts` *path*
`-C` _path_
`--contracts` _path_
&nbsp;&nbsp;&nbsp;&nbsp;The contracts source directory.
&nbsp;&nbsp;&nbsp;&nbsp;Environment: `DAPP_SRC`

`--lib-paths` *path*
`--lib-paths` _path_
&nbsp;&nbsp;&nbsp;&nbsp;The path to the library folder.

`-R` *remappings*
`--remappings` *remappings*
`-R` _remappings_
`--remappings` _remappings_
&nbsp;&nbsp;&nbsp;&nbsp;The project's remappings.

&nbsp;&nbsp;&nbsp;&nbsp;The parameter is a comma-separated list of remappings in the format `<source>=<dest>`.

`--cache-path` *path*
`--cache-path` _path_
&nbsp;&nbsp;&nbsp;&nbsp;The path to the compiler cache.

`--config-path` *file*
`--config-path` _file_
&nbsp;&nbsp;&nbsp;&nbsp;Path to the config file.

`--hh`
`--hardhat`
&nbsp;&nbsp;&nbsp;&nbsp;This is a convenience flag, and is the same as passing `--contracts contracts --lib-paths node-modules`.

`-o` *path*
`--out` *path*
`-o` _path_
`--out` _path_
&nbsp;&nbsp;&nbsp;&nbsp;The project's artifacts directory.

`--silent`
Expand All @@ -296,8 +294,8 @@ The model checker will run when `spark build` is invoked, and will show findings

&nbsp;&nbsp;&nbsp;&nbsp;By default, the project's source directory is watched.

`-d` *delay*
`--delay` *delay*
`-d` _delay_
`--delay` _delay_
&nbsp;&nbsp;&nbsp;&nbsp;File update debounce delay.

&nbsp;&nbsp;&nbsp;&nbsp;During the delay, incoming change events are accumulated and only once the delay has passed, is an action taken.
Expand Down

0 comments on commit b91bcd6

Please sign in to comment.