feat(mobile): переименование ios -> mobile, универсальный движок для iOS/Android
This commit is contained in:
1 parent
fb998547eb
commit
575f278a9a
21 files changed
+812
-500
No files matched your search
@@ -27,6 +27,21 @@ tasks:
|
||||
cmds:
|
||||
- goreleaser release --snapshot --clean --skip=publish,sign
|
||||
|
||||
build:ios:
|
||||
desc: Build iOS XCFramework to dist/Mobile.xcframework
|
||||
platforms: [darwin]
|
||||
cmds:
|
||||
- rm -rf dist/Mobile.xcframework
|
||||
- mkdir -p dist
|
||||
- gomobile bind -target ios,iossimulator -o dist/Mobile.xcframework ./mobile
|
||||
|
||||
build:android:
|
||||
desc: Build Android Archive (AAR) to dist/mobile.aar
|
||||
cmds:
|
||||
- rm -rf dist/mobile.aar dist/mobile-sources.jar
|
||||
- mkdir -p dist
|
||||
- gomobile bind -target android -o dist/mobile.aar ./mobile
|
||||
|
||||
test:
|
||||
desc: Run unit tests with race detector
|
||||
cmds:
|
||||
|
||||
Reference in new issue
Block a user