mirror of
https://github.com/DefinedNet/mobile_nebula.git
synced 2025-01-18 19:27:05 +00:00
fcf21f6f6b
John found an issue in gomobile that seems to be the culprit of one of these issues: https://github.com/golang/go/issues/53316#issuecomment-2407626810
21 lines
527 B
Makefile
21 lines
527 B
Makefile
111MODULE = on
|
|
export GO111MODULE
|
|
|
|
unexport SWIFT_DEBUG_INFORMATION_VERSION
|
|
unexport SWIFT_DEBUG_INFORMATION_FORMAT
|
|
|
|
clean:
|
|
rm -rf mobileNebula.aar MobileNebula.xcframework
|
|
|
|
mobileNebula.aar: *.go go.sum
|
|
go get -d golang.org/x/mobile/cmd/gomobile
|
|
gomobile bind -trimpath -v --target=android -androidapi 26
|
|
|
|
MobileNebula.xcframework: *.go go.sum
|
|
go get -d golang.org/x/mobile/cmd/gomobile
|
|
gomobile bind -trimpath -v -target=ios
|
|
|
|
.DEFAULT_GOAL := mobileNebula.aar
|
|
|
|
.PHONY: clean
|
|
all: mobileNebula.aar MobileNebula.framework
|