We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b455757 commit eb0d57cCopy full SHA for eb0d57c
2 files changed
.github/workflows/ci.yml
@@ -169,10 +169,7 @@ jobs:
169
170
- name: Install iOS target for Rust
171
if: env.turbo_cache_hit != 1
172
- run: rustup target add \
173
- aarch64-apple-ios \
174
- aarch64-apple-ios-sim
175
-
+ run: rustup target add aarch64-apple-ios aarch64-apple-ios-sim
176
177
- name: Build for iOS
178
run: |
scripts/add-extension.sh
@@ -1,6 +1,15 @@
1
#!/bin/bash
2
3
+# Detect the operating system to use appropriate sed syntax
4
+if [[ "$OSTYPE" == "darwin"* ]]; then
5
+ # macOS
6
+ SED_INPLACE="sed -i ''"
7
+else
8
+ # Linux (including CI environments)
9
+ SED_INPLACE="sed -i"
10
+fi
11
+
12
# Replace line 29 in src/index.tsx with export statement
-sed -i '' '29c\
13
+$SED_INPLACE '29c\
14
export * from '\''./extension'\'';
15
' src/index.tsx
0 commit comments