forked from FuelLabs/sway
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor
forc_pkg::BuildOptions
into its parts (FuelLabs#3166)
This is in anticipation of introducing a new `forc-test` library crate that will contain the logic for building and executing tests. It will expose a similar `TestOpts` type that shares some of these parts, but not all. Also splits up the forc `BuildCommand` for easier sharing between sets of clap arguments (using the `clap` `flatten` attribute) that require building a project (e.g. build, test). Also adds two missing args to the `RunCommand` (`release` and `build-profile`). Co-authored-by: Mohammad Fawaz <[email protected]>
- Loading branch information
1 parent
4e3e44f
commit c0880eb
Showing
11 changed files
with
305 additions
and
230 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.