We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 775a698 commit 36a785bCopy full SHA for 36a785b
convert-to-heed3.sh
@@ -14,7 +14,11 @@ cp heed3/Cargo.toml heed/Cargo.toml
14
15
# ...and replaces the `heed::` string by the `heed3::` one.
16
for file in $(find heed/src -type f -name "*.rs"); do
17
- sed -i '' 's/heed::/heed3::/g' "$file"
+ if [[ "$OSTYPE" == "darwin"* ]]; then
18
+ sed -i '' 's/heed::/heed3::/g' "$file"
19
+ else
20
+ sed -i 's/heed::/heed3::/g' "$file"
21
+ fi
22
done
23
24
echo "Heed3 crate setup completed successfully. Copied and modified configurations for the heed crate."
0 commit comments