mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-19 02:27:06 +01:00
mobile: Add apple Makefile task for compiling xcframework for all Apple platforms
This commit is contained in:
5
Makefile
5
Makefile
@@ -298,6 +298,11 @@ vendor:
|
|||||||
@$(call print, "Re-creating vendor directory.")
|
@$(call print, "Re-creating vendor directory.")
|
||||||
rm -r vendor/; go mod vendor
|
rm -r vendor/; go mod vendor
|
||||||
|
|
||||||
|
apple: vendor mobile-rpc
|
||||||
|
@$(call print, "Building iOS and macOS cxframework ($(IOS_BUILD)).")
|
||||||
|
mkdir -p $(IOS_BUILD_DIR)
|
||||||
|
$(GOMOBILE_BIN) bind -target=ios,iossimulator,macos -tags="mobile $(DEV_TAGS) autopilotrpc" $(LDFLAGS) -v -o $(IOS_BUILD) $(MOBILE_PKG)
|
||||||
|
|
||||||
ios: vendor mobile-rpc
|
ios: vendor mobile-rpc
|
||||||
@$(call print, "Building iOS cxframework ($(IOS_BUILD)).")
|
@$(call print, "Building iOS cxframework ($(IOS_BUILD)).")
|
||||||
mkdir -p $(IOS_BUILD_DIR)
|
mkdir -p $(IOS_BUILD_DIR)
|
||||||
|
|||||||
Reference in New Issue
Block a user