mobile_nebula/nebula/Makefile
Ian VanSchooten c8994e98a5
Add smoke-build CI workflow (#169)
This adds a workflow into PRs to build the iOS and Android apps, just to verify that they aren't completely broken / unable to build. They're debug builds, so it won't completely mirror the release build, but that allows us to avoid getting signing keys in the workflow.
2024-10-17 09:38:50 -04:00

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