Skip to content

Commit c45cd48

Browse files
author
Tarik Eshaq
authored
Adds error support to both firefox iOS and focus (#74)
1 parent 1703043 commit c45cd48

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

generate.sh

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,15 @@ cp -r "$APP_SERVICES_DIR/components/rc_log/ios/" $OUT_DIR
144144
cp -r "$APP_SERVICES_DIR/components/viaduct/ios/" $OUT_DIR
145145

146146

147+
###
148+
#
149+
# ErrorSupport
150+
#
151+
###
152+
"${UNIFFI_BINDGEN[@]}" generate -l swift -o "$OUT_DIR/Generated" "$APP_SERVICES_DIR/components/support/error/src/errorsupport.udl"
153+
154+
155+
147156
###################### Swift code generation for Focus ######################
148157
# Glean metrics.
149158
# Run this first, because it appears to delete any other .swift files in the output directory.
@@ -182,5 +191,12 @@ cp -r "$APP_SERVICES_DIR/components/rc_log/ios/" $FOCUS_DIR
182191
cp -r "$APP_SERVICES_DIR/components/viaduct/ios/" $FOCUS_DIR
183192

184193

194+
###
195+
#
196+
# ErrorSupport
197+
#
198+
###
199+
"${UNIFFI_BINDGEN[@]}" generate -l swift -o "$FOCUS_DIR/Generated" "$APP_SERVICES_DIR/components/support/error/src/errorsupport.udl"
200+
185201

186202
echo "Successfully generated uniffi code!"

0 commit comments

Comments
 (0)