-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
…y. Use it in CI. (FuelLabs#4145) ## Description This moves the examples workspace manifest introduced in FuelLabs#4118 into the `examples/` directory and cleans it up a bit. We also now integrate the examples workspace into CI, making the old `examples-checker` script redundant. This old script is also removed as a part of this PR. ## Checklist - [x] I have linked to any relevant issues. - [x] I have commented my code, particularly in hard-to-understand areas. - [x] I have updated the documentation where relevant (API docs, the reference, and the Sway book). - [x] I have added tests that prove my fix is effective or that my feature works. - [x] I have added (or requested a maintainer to add) the necessary `Breaking*` or `New Feature` labels where relevant. - [x] I have done my best to ensure that my PR adheres to [the Fuel Labs Code Review Standards](https://github.com/FuelLabs/rfcs/blob/master/text/code-standards/external-contributors.md). - [x] I have requested a review from the relevant team or maintainers.
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,153 @@ | ||
[[package]] | ||
name = 'abi_supertraits' | ||
source = 'member' | ||
|
||
[[package]] | ||
name = 'array' | ||
source = 'member' | ||
dependencies = ['std'] | ||
|
||
[[package]] | ||
name = 'asm_return_tuple_pointer' | ||
source = 'member' | ||
dependencies = ['std'] | ||
|
||
[[package]] | ||
name = 'break_and_continue' | ||
source = 'member' | ||
dependencies = ['core'] | ||
|
||
[[package]] | ||
name = 'cei_analysis' | ||
source = 'member' | ||
dependencies = ['std'] | ||
|
||
[[package]] | ||
name = 'config_time_constants' | ||
source = 'member' | ||
|
||
[[package]] | ||
name = 'core' | ||
source = 'path+from-root-087D5D776F294F03' | ||
|
||
[[package]] | ||
name = 'counter' | ||
source = 'member' | ||
dependencies = ['std'] | ||
|
||
[[package]] | ||
name = 'enums' | ||
source = 'member' | ||
|
||
[[package]] | ||
name = 'fizzbuzz' | ||
source = 'member' | ||
dependencies = ['std'] | ||
|
||
[[package]] | ||
name = 'hashing' | ||
source = 'member' | ||
dependencies = ['std'] | ||
|
||
[[package]] | ||
name = 'identity' | ||
source = 'member' | ||
dependencies = ['std'] | ||
|
||
[[package]] | ||
name = 'liquidity_pool' | ||
source = 'member' | ||
dependencies = ['std'] | ||
|
||
[[package]] | ||
name = 'match_statements' | ||
source = 'member' | ||
dependencies = ['std'] | ||
|
||
[[package]] | ||
name = 'msg_sender' | ||
source = 'member' | ||
dependencies = ['std'] | ||
|
||
[[package]] | ||
name = 'mut_ref_params' | ||
source = 'member' | ||
dependencies = ['std'] | ||
|
||
[[package]] | ||
name = 'native_token' | ||
source = 'member' | ||
dependencies = ['std'] | ||
|
||
[[package]] | ||
name = 'ownership' | ||
source = 'member' | ||
dependencies = ['std'] | ||
|
||
[[package]] | ||
name = 'signatures' | ||
source = 'member' | ||
dependencies = ['std'] | ||
|
||
[[package]] | ||
name = 'std' | ||
source = 'path+from-root-087D5D776F294F03' | ||
dependencies = ['core'] | ||
|
||
[[package]] | ||
name = 'storage_example' | ||
source = 'member' | ||
dependencies = ['std'] | ||
|
||
[[package]] | ||
name = 'storage_map' | ||
source = 'member' | ||
dependencies = ['std'] | ||
|
||
[[package]] | ||
name = 'storage_variables' | ||
source = 'member' | ||
|
||
[[package]] | ||
name = 'storage_vec' | ||
source = 'member' | ||
dependencies = ['std'] | ||
|
||
[[package]] | ||
name = 'structs' | ||
source = 'member' | ||
|
||
[[package]] | ||
name = 'subcurrency' | ||
source = 'member' | ||
dependencies = ['std'] | ||
|
||
[[package]] | ||
name = 'tuples' | ||
source = 'member' | ||
|
||
[[package]] | ||
name = 'vec' | ||
source = 'member' | ||
dependencies = ['std'] | ||
|
||
[[package]] | ||
name = 'wallet_abi' | ||
source = 'member' | ||
dependencies = ['std'] | ||
|
||
[[package]] | ||
name = 'wallet_contract_caller_script' | ||
source = 'member' | ||
dependencies = [ | ||
'std', | ||
'wallet_abi', | ||
] | ||
|
||
[[package]] | ||
name = 'wallet_smart_contract' | ||
source = 'member' | ||
dependencies = [ | ||
'std', | ||
'wallet_abi', | ||
] |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# This workspace is a collection of packages that manages all the example contracts | ||
# in the Sway repo, where each example is a package member of the workspace. | ||
[workspace] | ||
members = [ | ||
"abi_supertraits", | ||
"arrays", | ||
"asm_return_tuple_pointer", | ||
"break_and_continue", | ||
"cei_analysis", | ||
"config_time_constants", | ||
"counter", | ||
"enums", | ||
"fizzbuzz", | ||
"hashing", | ||
"identity", | ||
"liquidity_pool", | ||
"match_statements", | ||
"msg_sender", | ||
"native_token", | ||
"ownership", | ||
"ref_mut_params", | ||
"signatures", | ||
"storage_example", | ||
"storage_map", | ||
"storage_variables", | ||
"storage_vec", | ||
"structs", | ||
"subcurrency", | ||
"tuples", | ||
"vec", | ||
"wallet_abi", | ||
"wallet_contract_caller_script", | ||
"wallet_smart_contract", | ||
] |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.