From a2b7370a1f1fdb0b9f03b63178ae7c75bec42783 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AE=A1=E5=AE=9C=E5=B0=A7?= Date: Fri, 21 Feb 2025 23:42:35 +0800 Subject: [PATCH] update --- Makefile | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 57b2fd6c..77e585a6 100644 --- a/Makefile +++ b/Makefile @@ -6,11 +6,18 @@ ipa: run: flutter run --release -build-all: build-android ipa +build-all: build-android ipa build-dmg + rm -fr build/release + mkdir -p build/release + mv build/app/outputs/flutter-apk/app-release.apk build/release/aidea-android.apk + mv build/ios/ipa/askaide.ipa build/release/aidea-ios.ipa + mv build/macos/Build/Products/Package/AIdea-Installer.dmg build/release/aidea-macos.dmg + open build/release build-android: flutter build apk --release --no-tree-shake-icons - # open build/app/outputs/flutter-apk + +build-and-sync-android: build-android mv build/app/outputs/flutter-apk/app-release.apk /Users/mylxsw/ResilioSync/ResilioSync/临时文件/aidea-release.apk build-macos: @@ -59,4 +66,4 @@ deploy-web: build-web ssh huawei-1 "cd /data/webroot && tar -zxvf web.tar.gz && rm -rf web.tar.gz app && mv web app" rm -fr build/web.tar.gz -.PHONY: run build-android build-macos ipa build-web-samehost build-web deploy-web build-dmg +.PHONY: run build-android build-macos ipa build-web-samehost build-web deploy-web build-dmg build-all build-and-sync-android