Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cli/src/command/create/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ pub fn new_blueprint(

cargo_generate::TemplatePath {
git: Some(template_repo),
branch: Some(String::from("v2")),
branch: Some(String::from("main")),
..Default::default()
}
});
Expand Down
6 changes: 6 additions & 0 deletions docs/setup-service-lifecycle-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -148,12 +148,18 @@ log_success "Rust toolchain updated to 1.88"
# Update to use local SDK
log_info "Updating Cargo.toml to use local SDK..."
if [[ "$OSTYPE" == "darwin"* ]]; then
sed -i '' "s|blueprint-sdk = { git = \"https://github.com/tangle-network/blueprint\", branch = \"main\"|blueprint-sdk = { path = \"$BLUEPRINT_SDK_ABS/crates/sdk\"|" svc-test-blueprint-bin/Cargo.toml 2>/dev/null || true
sed -i '' "s|blueprint-sdk = { git = \"https://github.com/tangle-network/blueprint\", branch = \"v2\"|blueprint-sdk = { path = \"$BLUEPRINT_SDK_ABS/crates/sdk\"|" svc-test-blueprint-bin/Cargo.toml 2>/dev/null || true
sed -i '' "s|blueprint-sdk = { git = \"https://github.com/tangle-network/blueprint\", branch = \"main\"|blueprint-sdk = { path = \"$BLUEPRINT_SDK_ABS/crates/sdk\"|" svc-test-blueprint-lib/Cargo.toml 2>/dev/null || true
sed -i '' "s|blueprint-sdk = { git = \"https://github.com/tangle-network/blueprint\", branch = \"v2\"|blueprint-sdk = { path = \"$BLUEPRINT_SDK_ABS/crates/sdk\"|" svc-test-blueprint-lib/Cargo.toml 2>/dev/null || true
sed -i '' "s|blueprint-anvil-testing-utils = { git = \"https://github.com/tangle-network/blueprint\", branch = \"main\" }|blueprint-anvil-testing-utils = { path = \"$BLUEPRINT_SDK_ABS/crates/testing-utils/anvil\" }|" svc-test-blueprint-lib/Cargo.toml 2>/dev/null || true
sed -i '' "s|blueprint-anvil-testing-utils = { git = \"https://github.com/tangle-network/blueprint\", branch = \"v2\" }|blueprint-anvil-testing-utils = { path = \"$BLUEPRINT_SDK_ABS/crates/testing-utils/anvil\" }|" svc-test-blueprint-lib/Cargo.toml 2>/dev/null || true
else
sed -i "s|blueprint-sdk = { git = \"https://github.com/tangle-network/blueprint\", branch = \"main\"|blueprint-sdk = { path = \"$BLUEPRINT_SDK_ABS/crates/sdk\"|" svc-test-blueprint-bin/Cargo.toml 2>/dev/null || true
sed -i "s|blueprint-sdk = { git = \"https://github.com/tangle-network/blueprint\", branch = \"v2\"|blueprint-sdk = { path = \"$BLUEPRINT_SDK_ABS/crates/sdk\"|" svc-test-blueprint-bin/Cargo.toml 2>/dev/null || true
sed -i "s|blueprint-sdk = { git = \"https://github.com/tangle-network/blueprint\", branch = \"main\"|blueprint-sdk = { path = \"$BLUEPRINT_SDK_ABS/crates/sdk\"|" svc-test-blueprint-lib/Cargo.toml 2>/dev/null || true
sed -i "s|blueprint-sdk = { git = \"https://github.com/tangle-network/blueprint\", branch = \"v2\"|blueprint-sdk = { path = \"$BLUEPRINT_SDK_ABS/crates/sdk\"|" svc-test-blueprint-lib/Cargo.toml 2>/dev/null || true
sed -i "s|blueprint-anvil-testing-utils = { git = \"https://github.com/tangle-network/blueprint\", branch = \"main\" }|blueprint-anvil-testing-utils = { path = \"$BLUEPRINT_SDK_ABS/crates/testing-utils/anvil\" }|" svc-test-blueprint-lib/Cargo.toml 2>/dev/null || true
sed -i "s|blueprint-anvil-testing-utils = { git = \"https://github.com/tangle-network/blueprint\", branch = \"v2\" }|blueprint-anvil-testing-utils = { path = \"$BLUEPRINT_SDK_ABS/crates/testing-utils/anvil\" }|" svc-test-blueprint-lib/Cargo.toml 2>/dev/null || true
fi
log_success "Cargo.toml updated to use local SDK"
Expand Down
Loading