Skip to content

Commit 1fd87c1

Browse files
authored
require dart 3.0; rev to 0.4.1 in prep for publishing (dart-archive#93)
require dart 3.0; rev to 0.4.1 in prep for publishing
1 parent 500dffa commit 1fd87c1

File tree

5 files changed

+11
-12
lines changed

5 files changed

+11
-12
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
fail-fast: false
4242
matrix:
4343
os: [ubuntu-latest]
44-
sdk: [2.19.0, dev]
44+
sdk: ['3.0', dev]
4545
steps:
4646
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
4747
- uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1+
## 0.4.1
2+
3+
- Fix a broken link in the readme.
4+
- Require Dart 3.0.
5+
16
## 0.4.0
27

38
- Remove the deprecated method `getSdkDir()` (instead, use `getSdkPath()`).
4-
- Require Dart 2.19
9+
- Require Dart 2.19.
510

611
## 0.3.5
712
- Make `applicationConfigHome` throw an `Exception` when it fails to find a

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![Build Status](https://github.com/dart-lang/cli_util/workflows/Dart/badge.svg)](https://github.com/dart-lang/cli_util/actions)
1+
[![Dart CI](https://github.com/dart-lang/cli_util/actions/workflows/build.yaml/badge.svg)](https://github.com/dart-lang/cli_util/actions/workflows/build.yaml)
22
[![Pub](https://img.shields.io/pub/v/cli_util.svg)](https://pub.dev/packages/cli_util)
33
[![package publisher](https://img.shields.io/pub/publisher/cli_util.svg)](https://pub.dev/packages/cli_util/publisher)
44

analysis_options.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,27 +13,21 @@ linter:
1313
- avoid_classes_with_only_static_members
1414
- avoid_private_typedef_functions
1515
- avoid_redundant_argument_values
16-
- avoid_returning_null_for_future
1716
- avoid_returning_this
1817
- avoid_unused_constructor_parameters
1918
- avoid_void_async
2019
- cancel_subscriptions
21-
- comment_references
2220
- join_return_with_assignment
2321
- literal_only_boolean_expressions
2422
- missing_whitespace_between_adjacent_strings
2523
- no_adjacent_strings_in_list
2624
- no_runtimeType_toString
2725
- package_api_docs
28-
- prefer_const_constructors
2926
- prefer_const_declarations
3027
- prefer_expression_function_bodies
3128
- prefer_final_locals
32-
- prefer_relative_imports
33-
- test_types_in_equals
3429
- unnecessary_await_in_return
3530
- unnecessary_raw_strings
3631
- use_if_null_to_convert_nulls_to_bools
3732
- use_raw_strings
3833
- use_string_buffers
39-
- use_super_parameters

pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
name: cli_util
2-
version: 0.4.0
2+
version: 0.4.1
33
description: A library to help in building Dart command-line apps.
44
repository: https://github.com/dart-lang/cli_util
55

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

99
dependencies:
1010
meta: ^1.3.0
1111
path: ^1.8.0
1212

1313
dev_dependencies:
14-
dart_flutter_team_lints: ^1.0.0
14+
dart_flutter_team_lints: ^2.0.0
1515
test: ^1.16.0

0 commit comments

Comments
 (0)