File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 3838cd " $INTEGRATION_TESTS_DIR "
3939
4040# # Add patch section to override all git dependencies with local paths
41- echo " 🔧 Adding patch section to override git dependencies..."
41+ echo " 🔧 Adding patch section to override dependencies..."
4242
4343# Remove any existing patch section first
4444if [[ " $OSTYPE " == " darwin" * ]]; then
45- sed -i ' ' ' /^# Override git dependencies with local paths/,/^$/d' Cargo.toml
45+ sed -i ' ' ' /^# Override dependencies with local paths/,/^$/d' Cargo.toml
4646else
47- sed -i ' /^# Override git dependencies with local paths/,/^$/d' Cargo.toml
47+ sed -i ' /^# Override dependencies with local paths/,/^$/d' Cargo.toml
4848fi
4949
5050
5151# Add the patch section at the end of the file
5252cat >> Cargo.toml << 'EOF '
5353
54- # Override git dependencies with local paths to avoid version conflicts
55- # TODO: will need to replace to patch.crates-io as soons as they are available and updated on the sv2-apps repo
56- [patch."https://github.com/stratum-mining/stratum"]
57- stratum-core = {path = "../../../stratum-core"}
54+ # Override dependencies with local paths
55+ [patch.crates-io]
56+ stratum-core = {path = "../../../stratum-core"}
5857EOF
5958
6059echo " ✅ Updated Cargo.toml to use local dependencies"
You can’t perform that action at this time.
0 commit comments