Skip to content

Commit

Permalink
Add Forc lockfiles to test projects (#1096)
Browse files Browse the repository at this point in the history
* build: add empty workspace to tests manifest

* build: add forc lockfiles for test projects

* build: remore dep core from forc manifests

* build: updated lockfiles
  • Loading branch information
nfurfaro authored Mar 29, 2022
1 parent 92cc0df commit d701bc0
Show file tree
Hide file tree
Showing 21 changed files with 231 additions and 3 deletions.
2 changes: 2 additions & 0 deletions sway-lib-std/tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@ tokio = { version = "1.12", features = ["rt", "macros"] }
harness = true
name = "integration_tests"
path = "test_projects/harness.rs"

[workspace]
18 changes: 18 additions & 0 deletions sway-lib-std/tests/test_artifacts/auth_caller_contract/Forc.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[[package]]
name = 'auth_caller_contract'
dependencies = [
'auth_testing_abi',
'std',
]

[[package]]
name = 'auth_testing_abi'
dependencies = ['std']

[[package]]
name = 'core'
dependencies = []

[[package]]
name = 'std'
dependencies = ['core']
18 changes: 18 additions & 0 deletions sway-lib-std/tests/test_artifacts/auth_caller_script/Forc.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[[package]]
name = 'auth_caller_script'
dependencies = [
'auth_testing_abi',
'std',
]

[[package]]
name = 'auth_testing_abi'
dependencies = ['std']

[[package]]
name = 'core'
dependencies = []

[[package]]
name = 'std'
dependencies = ['core']
11 changes: 11 additions & 0 deletions sway-lib-std/tests/test_artifacts/auth_testing_abi/Forc.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[[package]]
name = 'auth_testing_abi'
dependencies = ['std']

[[package]]
name = 'core'
dependencies = []

[[package]]
name = 'std'
dependencies = ['core']
18 changes: 18 additions & 0 deletions sway-lib-std/tests/test_artifacts/auth_testing_contract/Forc.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[[package]]
name = 'auth_testing_abi'
dependencies = ['std']

[[package]]
name = 'auth_testing_contract'
dependencies = [
'auth_testing_abi',
'std',
]

[[package]]
name = 'core'
dependencies = []

[[package]]
name = 'std'
dependencies = ['core']
11 changes: 11 additions & 0 deletions sway-lib-std/tests/test_artifacts/balance_contract/Forc.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[[package]]
name = 'balance_contract'
dependencies = ['std']

[[package]]
name = 'core'
dependencies = []

[[package]]
name = 'std'
dependencies = ['core']
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ license = "Apache-2.0"
name = "balance_contract"

[dependencies]
core = { git = "https://github.com/FuelLabs/sway-lib-core", branch = "master" }
std = { path = "../../../" }
11 changes: 11 additions & 0 deletions sway-lib-std/tests/test_artifacts/call_frames_test_abi/Forc.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[[package]]
name = 'call_frames_test_abi'
dependencies = ['std']

[[package]]
name = 'core'
dependencies = []

[[package]]
name = 'std'
dependencies = ['core']
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[[package]]
name = 'context_caller_contract'
dependencies = [
'context_testing_abi',
'std',
]

[[package]]
name = 'context_testing_abi'
dependencies = ['std']

[[package]]
name = 'core'
dependencies = []

[[package]]
name = 'std'
dependencies = ['core']
11 changes: 11 additions & 0 deletions sway-lib-std/tests/test_artifacts/context_testing_abi/Forc.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[[package]]
name = 'context_testing_abi'
dependencies = ['std']

[[package]]
name = 'core'
dependencies = []

[[package]]
name = 'std'
dependencies = ['core']
11 changes: 11 additions & 0 deletions sway-lib-std/tests/test_artifacts/tx_contract/Forc.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[[package]]
name = 'core'
dependencies = []

[[package]]
name = 'std'
dependencies = ['core']

[[package]]
name = 'tx_contract'
dependencies = ['std']
11 changes: 11 additions & 0 deletions sway-lib-std/tests/test_projects/auth/Forc.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[[package]]
name = 'auth'
dependencies = ['std']

[[package]]
name = 'core'
dependencies = []

[[package]]
name = 'std'
dependencies = ['core']
18 changes: 18 additions & 0 deletions sway-lib-std/tests/test_projects/call_frames/Forc.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[[package]]
name = 'call_frames'
dependencies = [
'call_frames_test_abi',
'std',
]

[[package]]
name = 'call_frames_test_abi'
dependencies = ['std']

[[package]]
name = 'core'
dependencies = []

[[package]]
name = 'std'
dependencies = ['core']
18 changes: 18 additions & 0 deletions sway-lib-std/tests/test_projects/context/Forc.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[[package]]
name = 'context'
dependencies = [
'context_testing_abi',
'std',
]

[[package]]
name = 'context_testing_abi'
dependencies = ['std']

[[package]]
name = 'core'
dependencies = []

[[package]]
name = 'std'
dependencies = ['core']
11 changes: 11 additions & 0 deletions sway-lib-std/tests/test_projects/contract_id_type/Forc.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[[package]]
name = 'contract_id_type'
dependencies = ['std']

[[package]]
name = 'core'
dependencies = []

[[package]]
name = 'std'
dependencies = ['core']
11 changes: 11 additions & 0 deletions sway-lib-std/tests/test_projects/option/Forc.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[[package]]
name = 'core'
dependencies = []

[[package]]
name = 'option'
dependencies = ['std']

[[package]]
name = 'std'
dependencies = ['core']
11 changes: 11 additions & 0 deletions sway-lib-std/tests/test_projects/registers/Forc.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[[package]]
name = 'core'
dependencies = []

[[package]]
name = 'registers'
dependencies = ['std']

[[package]]
name = 'std'
dependencies = ['core']
1 change: 0 additions & 1 deletion sway-lib-std/tests/test_projects/registers/Forc.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ license = "Apache-2.0"
name = "registers"

[dependencies]
core = { git = "https://github.com/FuelLabs/sway-lib-core", branch = "master" }
std = { path = "../../../" }
11 changes: 11 additions & 0 deletions sway-lib-std/tests/test_projects/result/Forc.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[[package]]
name = 'core'
dependencies = []

[[package]]
name = 'result'
dependencies = ['std']

[[package]]
name = 'std'
dependencies = ['core']
11 changes: 11 additions & 0 deletions sway-lib-std/tests/test_projects/token_ops/Forc.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[[package]]
name = 'core'
dependencies = []

[[package]]
name = 'std'
dependencies = ['core']

[[package]]
name = 'token_ops'
dependencies = ['std']
1 change: 0 additions & 1 deletion sway-lib-std/tests/test_projects/token_ops/Forc.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ license = "Apache-2.0"
name = "token_ops"

[dependencies]
core = { git = "https://github.com/FuelLabs/sway-lib-core", branch = "master" }
std = { path = "../../../" }

0 comments on commit d701bc0

Please sign in to comment.