Skip to content

Commit a258e46

Browse files
authored
Merge pull request #58 from mozilla/tabs-in-ios
Add tabs generation logic for the tabs iOS integration
2 parents 3765420 + ab0af74 commit a258e46

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

generate.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ cp -r "$APP_SERVICES_DIR/components/logins/ios/Logins" "$OUT_DIR"
7979
# Autofill
8080
#
8181
###
82-
## Not of our consumers currently use autofill, and the swift code has a name conflict with
82+
## None of our consumers currently use autofill, and the swift code has a name conflict with
8383
## another component, so for now, commented out.
8484

8585
# "${UNIFFI_BINDGEN[@]}" generate -l swift -o "$OUT_DIR/Generated" "$APP_SERVICES_DIR/components/autofill/src/autofill.udl"
@@ -98,10 +98,11 @@ cp -r "$APP_SERVICES_DIR/components/logins/ios/Logins" "$OUT_DIR"
9898
# Tabs
9999
#
100100
###
101-
## Not of our consumers currently use tabs, and the swift code has a name conflict with
102-
## another component, so for now, commented out.
103101

104-
# "${UNIFFI_BINDGEN[@]}" generate -l swift -o "$OUT_DIR/Generated" "$APP_SERVICES_DIR/components/tabs/src/tabs.udl"
102+
"${UNIFFI_BINDGEN[@]}" generate -l swift -o "$OUT_DIR/Generated" "$APP_SERVICES_DIR/components/tabs/src/tabs.udl"
103+
104+
# Copy the hand-written Swift, since it all needs to be together in one directory.
105+
cp -r "$APP_SERVICES_DIR/components/tabs/ios/Tabs" "$OUT_DIR"
105106

106107
###
107108
#

0 commit comments

Comments
 (0)