mirror of
https://github.com/openlibrecommunity/olcrtc.git
synced 2026-06-05 20:09:47 +00:00
fix(ci): ensure build directory exists before gomobile bind
This commit is contained in:
@@ -112,6 +112,9 @@ func Mobile() error {
|
||||
if err := ensureTool("gomobile"); err != nil {
|
||||
return fmt.Errorf("gomobile not found: run 'go install golang.org/x/mobile/cmd/gomobile@latest && gomobile init'")
|
||||
}
|
||||
if err := ensureBuildDir(); err != nil {
|
||||
return err
|
||||
}
|
||||
return sh.RunV("gomobile", "bind",
|
||||
"-target=android",
|
||||
"-androidapi", "21",
|
||||
|
||||
Reference in New Issue
Block a user