Skip to content

Commit

Permalink
Move Rust files into rs directory
Browse files Browse the repository at this point in the history
  • Loading branch information
hpeebles committed May 3, 2024
1 parent 9388997 commit 8b45700
Show file tree
Hide file tree
Showing 55 changed files with 13 additions and 11 deletions.
16 changes: 8 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[workspace]
members = [
"canister/api",
"canister/impl",
"email_sender/aws",
"email_sender/core",
"integration_tests",
"libraries/magic_links",
"libraries/test_utils",
"libraries/utils",
"rs/canister/api",
"rs/canister/impl",
"rs/email_sender/aws",
"rs/email_sender/core",
"rs/integration_tests",
"rs/libraries/magic_links",
"rs/libraries/test_utils",
"rs/libraries/utils",
]
resolver = "2"

Expand Down
2 changes: 1 addition & 1 deletion dfx.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"sign_in_with_email": {
"type": "rust",
"package": "sign_in_with_email_canister_impl",
"candid": "canister/api/can.did",
"candid": "rs/canister/api/can.did",
"gzip": true
}
},
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ fn canister_wasm_path() -> PathBuf {
)
.parent()
.unwrap()
.parent()
.unwrap()
.join("target")
.join("wasm32-unknown-unknown")
.join("release")
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions scripts/run-integration-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ echo "Building canister wasm"
cargo build --target wasm32-unknown-unknown --release -p sign_in_with_email_canister_impl --locked
gzip -fk target/wasm32-unknown-unknown/release/sign_in_with_email_canister_impl.wasm

cd integration_tests
cd rs/integration_tests
echo "PocketIC download starting"
curl -Ls https://github.com/dfinity/pocketic/releases/download/${POCKET_IC_SERVER_VERSION}/pocket-ic-x86_64-${PLATFORM}.gz -o pocket-ic.gz || exit 1
gzip -df pocket-ic.gz
chmod +x pocket-ic
echo "PocketIC download completed"
cd ..
cd ../..

cargo test --package integration_tests $TESTNAME -- --test-threads $TEST_THREADS

0 comments on commit 8b45700

Please sign in to comment.