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

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

内容简介: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:


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

查看所有标签

猜你喜欢:

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

Sprint

Sprint

Jake Knapp、John Zeratsky、Braden Kowitz / Simon & Schuster / 2016-3-8 / GBP 14.60

媒体推荐 “Every business leader I know worries about the same thing: Are we moving fast enough? The genius of Jake Knapp’s Sprint is its step-by-step breakdown of what it takes to solve big problems an......一起来看看 《Sprint》 这本书的介绍吧!

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器

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

html转js在线工具

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具