Commit Graph

11 Commits

Author SHA1 Message Date
Michael Goderbauer
e6f71555f6 Revert "Work around to fix appveyor build (#11295)" (#11297)
This reverts commit bc4a3f1703.
2017-07-24 12:54:07 -07:00
Michael Goderbauer
bc4a3f1703 Work around to fix appveyor build (#11295)
* work around for appveyor connectivity issues

Unfortuantelly, this slows down our build :(

* review feedback
2017-07-19 12:05:30 -07:00
Alexander Aprelev
272faba1c0 Support 'be' channel so you can download dart-sdk from the tip. (#10625)
* Support 'be' channel so you can download dart-sdk from the tip.

This is triggered when you put 'hash/<build hash>' into dart-sdk.version file. For example, 'hash/c0617d20158955d99d6447036237fe2639ba088c'

* Add README.md

* Fix grammar, spacing, 80 chars, nicer ===
2017-06-13 08:28:16 -07:00
Michael Goderbauer
7ede6b530e Use 7-Zip to unzip SDK, if available. (#8721)
Windows' built-in unzippers are painfully slow. It drives me mad!

Unzip SDK with 7-Zip: ~10s
Unzip SDK with Windows: ~90s
2017-03-10 15:21:08 -08:00
Michael Goderbauer
e2dccc5e48 Ensure compatibility with older PowerShell versions and better error handling (#8652)
This should make our scripts compatible with PowerShell 2 or newer. PowerShell 2 was released in October 2009 and shipped with Windows 7 as default. (I suspect the scripts are now also compatible with PowerShell 1, but that's unconfirmed). This fixes #8606.

The PR also introduces better error handling when Flutter fail to download the Dart SDK to fix #8627.
2017-03-08 10:52:07 -08:00
Michael Goderbauer
4d394591cf fix for PowerShell Script when flutter/bin is not in PATH (#8620) 2017-03-07 15:00:01 -08:00
Michael Goderbauer
582df7b643 Minor fixes to SDK update PowerShell Script (#8617)
* for Win 7, we need to import BitsTransfer before using it
* switch to PowerShell's build-in archive expander (instead of relying on .NET)
2017-03-07 11:14:59 -08:00
Michael Goderbauer
756842a29e Don't delete old Dart SDK if it is in use (#8385) 2017-02-24 09:28:58 -08:00
Michael Goderbauer
b65ed45222 Improvments to bat file (#8377)
Mainly: Don't call out to PoerShell (expansive!) if Dart SDK is upto date.
2017-02-23 12:09:52 -08:00
Michael Goderbauer
769646218a Add git config option to automatically convert CRLF to LF (#8122) 2017-02-14 10:21:33 -08:00
Michael Goderbauer
51dc83dd80 Launch Flutter Tools on Windows. (#7613)
This brings the Windows script up to par with the Linux/Mac script.

`flutter doctor` works.

There are two scripts (`bin/flutter` and `bin/internal/update_dart-sdk`), which are platform dependent (bash script on Linux/Max, PowerShell script on Windows) and we need to keep an eye on making sure that their logic stays in sync. Both scripts are rather simple and I am not expecting many changes to them. I also made sure that both versions follow the same structure to make it easier to keep them consistent.

Required for https://github.com/flutter/flutter/issues/138
2017-01-24 10:58:11 -08:00