File tree Expand file tree Collapse file tree 5 files changed +95
-17
lines changed
Expand file tree Collapse file tree 5 files changed +95
-17
lines changed Original file line number Diff line number Diff line change 11language : dart
22
33dart :
4- - dev
5- - stable
4+ - dev
65
7- dart_task :
8- - test
9-
10- matrix :
6+ jobs :
117 include :
12- # Only validate formatting,analyzer using the dev release
13- - dart : dev
14- dart_task : dartfmt
15- - dart : dev
16- dart_task : dartanalyzer
8+ - stage : analyze_and_format
9+ name : " Analyze test/"
10+ dart : dev
11+ os : linux
12+ script : dartanalyzer --enable-experiment=non-nullable --fatal-warnings --fatal-infos .
13+ - stage : analyze_and_format
14+ name : " Format"
15+ dart : dev
16+ os : linux
17+ script : dartfmt -n --set-exit-if-changed .
18+ - stage : test
19+ name : " Vm Tests"
20+ dart : dev
21+ os : linux
22+ script : pub run --enable-experiment=non-nullable test -p vm
23+
24+ stages :
25+ - analyze_and_format
26+ - test
1727
1828# Only building master means that we don't run two builds for each pull request.
1929branches :
20- only : [master]
30+ only : [master, null_safety ]
2131
2232cache :
2333 directories :
Original file line number Diff line number Diff line change 1+ ## 1.2.0-nullsafety
2+
3+ * Update to null safety. All apis require non-nullable types.
4+
15## 1.1.0
26
37* Add a ` GlyphSet ` class that can be used to easily choose which set of glyphs
Original file line number Diff line number Diff line change 11include : package:pedantic/analysis_options.yaml
2+ analyzer :
3+ enable-experiment :
4+ - non-nullable
Original file line number Diff line number Diff line change 11name : term_glyph
2- version : 1.1.1-dev
2+ version : 1.2.0-nullsafety
33
44description : Useful Unicode glyphs and ASCII substitutes.
55homepage : https://github.com/dart-lang/term_glyph
66
77environment :
8- sdk : ' >=1.8.0 <3.0 .0'
8+ sdk : ' >=2.9.0-18.0 <2.9 .0'
99
1010dev_dependencies :
1111 csv : ' >=3.0.0 <5.0.0'
1212 dart_style : ' >=0.2.0 <2.0.0'
13- meta : ' >=0.9.0 <2.0.0'
1413 test : ' >=0.12.0 <2.0.0'
14+
15+ dependency_overrides :
16+ async :
17+ git :
18+ url : git://github.com/dart-lang/async.git
19+ ref : null_safety
20+ boolean_selector :
21+ git :
22+ url : git://github.com/dart-lang/boolean_selector.git
23+ ref : null_safety
24+ charcode :
25+ git :
26+ url : git://github.com/dart-lang/charcode.git
27+ ref : null_safety
28+ collection : 1.15.0-nullsafety
29+ matcher :
30+ git :
31+ url : git://github.com/dart-lang/matcher.git
32+ ref : null_safety
33+ meta : 1.3.0-nullsafety
34+ path :
35+ git :
36+ url : git://github.com/dart-lang/path.git
37+ ref : null_safety
38+ pedantic :
39+ git :
40+ url : git://github.com/dart-lang/pedantic.git
41+ ref : null_safety
42+ pool :
43+ git :
44+ url : git://github.com/dart-lang/pool.git
45+ ref : null_safety
46+ source_span :
47+ git :
48+ url : git://github.com/dart-lang/source_span.git
49+ ref : null_safety
50+ stack_trace :
51+ git :
52+ url : git://github.com/dart-lang/stack_trace.git
53+ ref : null_safety
54+ stream_channel :
55+ git :
56+ url : git://github.com/dart-lang/stream_channel.git
57+ ref : null_safety
58+ string_scanner :
59+ git :
60+ url : git://github.com/dart-lang/string_scanner.git
61+ ref : null_safety
62+ test_api :
63+ git :
64+ url : git://github.com/dart-lang/test.git
65+ ref : null_safety
66+ path : pkgs/test_api
67+ test_core :
68+ git :
69+ url : git://github.com/dart-lang/test.git
70+ ref : null_safety
71+ path : pkgs/test_core
72+ test :
73+ git :
74+ url : git://github.com/dart-lang/test.git
75+ ref : null_safety
76+ path : pkgs/test
Original file line number Diff line number Diff line change 55import 'dart:io' ;
66
77import 'package:csv/csv.dart' ;
8- import 'package:meta/meta.dart' ;
98
109void main () {
1110 var csv = CsvCodec (eol: '\n ' );
@@ -83,7 +82,7 @@ void _writeGlyphSetInterface(List<List> data) {
8382///
8483/// If [ascii] is `true` , this writes the ASCII glyph set. Otherwise it writes
8584/// the Unicode glyph set.
86- void _writeGlyphSet (List <List > data, {@ required bool ascii}) {
85+ void _writeGlyphSet (List <List > data, {required bool ascii}) {
8786 var file =
8887 File ('lib/src/generated/${ascii ? "ascii" : "unicode" }_glyph_set.dart' )
8988 .openSync (mode: FileMode .write);
You can’t perform that action at this time.
0 commit comments