flutter packages 发布指北
检测
flutter packages pub publish --dry-run
发布 flutter package:
flutter packages pub publish --server=https://pub.dartlang.org
记录一下macOS终端命令行配置网络代理命令:
检测命令行网络(ping不好使,为啥就是网络协议的事了,费脑子)
brew install wget wget www.google.com 检查结果为超时,所以需要开启代理
配置: .bash_profile
vim ~/.bash_profile # 配置proxy alias proxy='export all_proxy=socks5://127.0.0.1:1080' alias unproxy='unset all_proxy' export http_proxy=http://127.0.0.1:1087; export https_proxy=http://127.0.0.1:1087; //刷新配置及时生效 source ~/.bash_profile
配置: .zshrc
vim ~/.zshrc # 配置proxy alias proxy='export all_proxy=socks5://127.0.0.1:1080' alias unproxy='unset all_proxy' export http_proxy=http://127.0.0.1:1087; export https_proxy=http://127.0.0.1:1087; //刷新配置及时生效 source ~/.zshrc
开关
#开启代理 proxy #关闭代理 unproxy // 检查IP curl ipinfo.io