Add flutter build macos-framework command (#105242)
This commit is contained in:
@@ -753,6 +753,13 @@ void checkDirectoryNotExists(String directory) {
|
||||
}
|
||||
}
|
||||
|
||||
/// Checks that the symlink exists, otherwise throws a [FileSystemException].
|
||||
void checkSymlinkExists(String file) {
|
||||
if (!exists(Link(file))) {
|
||||
throw FileSystemException('Expected symlink to exist.', file);
|
||||
}
|
||||
}
|
||||
|
||||
/// Check that `collection` contains all entries in `values`.
|
||||
void checkCollectionContains<T>(Iterable<T> values, Iterable<T> collection) {
|
||||
for (final T value in values) {
|
||||
|
||||
Reference in New Issue
Block a user