Skip to content
This repository was archived by the owner on Feb 24, 2025. It is now read-only.

Commit 109121d

Browse files
authored
allow latest file, update to latest dart_flutter_team_lints (#78)
This unblocks the dependency cycle so that the latest package:file can work with package:test. Also preps to release.
1 parent 30f6aba commit 109121d

File tree

4 files changed

+26
-6
lines changed

4 files changed

+26
-6
lines changed

.github/workflows/publish.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# A CI configuration to auto-publish pub packages.
2+
3+
name: Publish
4+
5+
on:
6+
pull_request:
7+
branches: [ master ]
8+
types: [opened, synchronize, reopened, labeled, unlabeled]
9+
push:
10+
tags: [ 'v[0-9]+.[0-9]+.[0-9]+*' ]
11+
12+
jobs:
13+
publish:
14+
if: ${{ github.repository_owner == 'dart-lang' }}
15+
uses: dart-lang/ecosystem/.github/workflows/publish.yaml@main
16+
with:
17+
sdk: dev

CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
## 2.1.2-dev
1+
## 2.1.2
22

3-
- Require Dart 2.18
3+
- Allow `file` version `7.x`.
4+
- Require Dart 2.19.
45

56
## 2.1.1
67

pubspec.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
name: glob
2-
version: 2.1.2-dev
2+
version: 2.1.2
33
description: A library to perform Bash-style file and directory globbing.
44
repository: https://github.com/dart-lang/glob
55

66
environment:
7-
sdk: '>=2.18.0 <3.0.0'
7+
sdk: '>=2.19.0 <4.0.0'
88

99
dependencies:
1010
async: ^2.5.0
1111
collection: ^1.15.0
12-
file: ^6.1.3
12+
file: '>=6.1.3 <8.0.0'
1313
path: ^1.8.0
1414
string_scanner: ^1.1.0
1515

1616
dev_dependencies:
17-
dart_flutter_team_lints: ^0.1.0
17+
dart_flutter_team_lints: ^1.0.0
1818
test: ^1.17.0
1919
test_descriptor: ^2.0.0

test/list_test.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
// BSD-style license that can be found in the LICENSE file.
44

55
@TestOn('vm')
6+
library;
7+
68
import 'dart:async';
79
import 'dart:io';
810

0 commit comments

Comments
 (0)