-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: ignore libraries in
fuels
CLI (#2302)
* fix: ignore libraries in `fuels` CLI * chore: changeset
- Loading branch information
1 parent
4ec24c0
commit 8866c09
Showing
6 changed files
with
53 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"fuels": patch | ||
--- | ||
|
||
fix: ignore libraries in `fuels` CLI |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,5 @@ members = [ | |
"./contracts/foo", | ||
"./scripts/script", | ||
"./predicates/predicate", | ||
"./libraries/library", | ||
] |
7 changes: 7 additions & 0 deletions
7
packages/fuels/test/fixtures/workspace/libraries/library/Forc.toml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[project] | ||
authors = ["Fuel Labs <contact@fuel.sh>"] | ||
entry = "lib.sw" | ||
license = "Apache-2.0" | ||
name = "library" | ||
|
||
[dependencies] |
11 changes: 11 additions & 0 deletions
11
packages/fuels/test/fixtures/workspace/libraries/library/src/lib.sw
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
library; | ||
|
||
pub enum FooType { | ||
Foo: (), | ||
Bar: (), | ||
} | ||
|
||
pub enum BarType { | ||
Bar: (), | ||
Foo: (), | ||
} |