Skip to content

Commit e1a2442

Browse files
authored
feat: add support for universal binary (#11)
justfile: add `--arch` to build universal binary
1 parent 8287b2e commit e1a2442

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ default:
66
build mode="debug":
77
xcrun coremlcompiler generate Resources/TeemojiClassifier.mlpackage Sources --language Swift
88
xcrun coremlcompiler compile Resources/TeemojiClassifier.mlpackage Sources
9-
swift build --configuration {{mode}} --verbose --disable-sandbox
9+
swift build --configuration {{mode}} --verbose --disable-sandbox --arch arm64 --arch x86_64
1010

1111
test: (build "debug")
1212
swift test

0 commit comments

Comments
 (0)