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:


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

查看所有标签

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

BSD Hacks

BSD Hacks

Dru Lavigne / O'Reilly Media, Inc. / 2004-05-24 / USD 24.95

If you want more than your average BSD user--you want to explore and experiment, unearth shortcuts, create useful tools, and come up with fun things to try on your own--BSD Hacks is a must-have. This ......一起来看看 《BSD Hacks》 这本书的介绍吧!

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具

html转js在线工具
html转js在线工具

html转js在线工具