flutterw:用来下载 Flutter SDK,类似于 gradlew

栏目: IT技术 · 发布时间: 6年前

内容简介:flutterw is a shell script which downloads and executes the Flutter SDK with the exact version defined in itself. It can keep the flutter sdk version consistent for your co-workers and on the CI servers.flutterw 用来下载Flutter SDK,类似于gradlew。通过在脚本内配置特定版本号,使得同

flutterw

flutterw is a shell script which downloads and executes the Flutter SDK with the exact version defined in itself. It can keep the flutter sdk version consistent for your co-workers and on the CI servers.

Feature

  • keep the flutter sdk version consistent for your co-workers and on the CI servers.
  • added extra commands like "./flutterw dart" can run a dart command, for example:
./flutterw dart --version
  • support windows os, need run with git bash

Config

  • Config flutter version:
flutter_channel="stable"
flutter_version="1.9.1+hotfix.6"

Run

./flutterw --version

Thanks

https://github.com/LinXiaoTao/flutterw

Contact me:

中文:

flutterw

flutterw 用来下载Flutter SDK,类似于gradlew。通过在脚本内配置特定版本号,使得同一工程的所有开发者或CI服务器(例如Jenkins)使用Flutter的版本一致。

功能

  • 保证所有开发者或CI服务器(例如Jenkins)使用Flutter的版本一致
  • 添加了一些额外的常用命令,如 ./flutterw dart 可以直接运行dart命令:
./flutterw dart --version
  • 支持windows系统,需要在 git bash 环境下运行

配置

  • 配置flutter版本号:
flutter_channel="stable"
flutter_version="1.9.1+hotfix.6"

执行

./flutterw --version

感谢

https://github.com/LinXiaoTao/flutterw

Contact me:


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。

Speed Up Your Site

Speed Up Your Site

Andrew B. King / New Riders Press / 2003-01-14 / USD 39.99

There's a time bomb on the web: user patience. It starts ticking each time someone opens one of your pages. You only have a few seconds to get compelling content onto the screen. Fail, and you can kis......一起来看看 《Speed Up Your Site》 这本书的介绍吧!

SHA 加密
SHA 加密

SHA 加密工具

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具