Commit graph

7 commits

Author SHA1 Message Date
Ian Hickson c4e1a1b387
Fix locking to work with flutter and dart running simultaneously (#133350) 2023-08-25 21:30:07 +00:00
Deokgyu Yang db8d1a4417
Add MSYS2 detection on Windows Terminal (#117612)
As the results of "uname -s" command is like the below on MSYS2 on
Windows Terminal,

MSYS_NT-10.0-22621

This patch fixes the Flutter command working on this kind of systems.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
2023-01-12 22:15:11 +00:00
Jonah Williams fac0d26d73
[flutter_tools] check for cygwin uname in entrypoint scripts (#78037) 2021-03-15 12:08:03 -07:00
Greg Spencer 6db22118ad
Make flutter and dart scripts invoke their batch file equivalents on Windows (#59789)
This makes the flutter and dart scripts invoke their batch file equivalents if running under MINGW (i.e. git-bash) on Windows.

This allows for proper locking, and makes sure that people aren't using two different (and non-mutally-aware) locking systems when running flutter on Windows.

I also fixed a couple of places where we look for MINGW32, which fails under MINGW64. It just looks for MINGW now.
2020-06-18 13:29:24 -07:00
Christopher Fujino 30fed049fa
[flutter_tools] remove execute permissions on shared.sh, and move off path (#58267) 2020-05-29 16:03:02 -07:00
Greg Spencer 379e11b641
Update the flutter script's locking mechanism and follow_links (#57590)
Update the flutter and dart scripts' locking mechanism and follow_links function to be more robust and support more platforms.

This adds support for using mkdir as a fallback if the system doesn't have flock instead of using shlock, since shlock doesn't work on shared filesystems.

It also fixes a problem in the follow_links function where it failed when the link resolved to the root directory.
2020-05-27 15:30:46 -07:00
Christopher Fujino 06cd79d7df
[flutter_tools] Add additional bash entrypoint for running dart sdk directly (#57257) 2020-05-18 12:38:09 -07:00