1 Star 0 Fork 19

zhongJun/AIdea

forked from Gitee 极速下载/AIdea 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Makefile 1.29 KB
一键复制 编辑 原始数据 按行查看 历史
ipa:
flutter build ipa --no-tree-shake-icons --release
open build/ios/ipa
run:
flutter run --release
build-all: build-android ipa
build-android:
flutter build apk --release --no-tree-shake-icons
# open build/app/outputs/flutter-apk
mv build/app/outputs/flutter-apk/app-release.apk /Users/mylxsw/ResilioSync/临时文件/
build-macos:
flutter build macos --no-tree-shake-icons --release
codesign -f -s "Developer ID Application: YIYAO GUAN (N95437SZ2A)" build/macos/Build/Products/Release/AIdea.app
productbuild --component AIdea.app /Applications --sign "Developer ID Installer: YIYAO GUAN (N95437SZ2A)" --product AIdea.app/Contents/Info.plist AIdea.pkg
open build/macos/Build/Products/Release/
build-web:
flutter build web --web-renderer canvaskit --release --pwa-strategy none --dart2js-optimization O4 --dart-define=FLUTTER_WEB_CANVASKIT_URL=https://resources.aicode.cc/canvaskit/
cd scripts && go run main.go ../build/web/main.dart.js && cd ..
rm -fr build/web/fonts/ && mkdir build/web/fonts
cp -r scripts/s build/web/fonts/s
deploy-web: build-web
cd build && tar -zcvf web.tar.gz web
scp build/web.tar.gz huawei-1:/data/webroot
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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Dart
1
https://gitee.com/zjby_admin/AIdea.git
git@gitee.com:zjby_admin/AIdea.git
zjby_admin
AIdea
AIdea
main

搜索帮助