File tree 6 files changed +9
-11
lines changed
6 files changed +9
-11
lines changed Original file line number Diff line number Diff line change 39
39
job : flutter
40
40
- sdk : stable
41
41
job : sdk-docs
42
- # Do not run the "packages" job on "stable", until "stable"
43
- # means >= 2.19. This is where pub switches the hosted
44
- # directory on disk from pub.dartlang.org to pub.dev.
45
- - sdk : stable
46
- job : packages
47
42
48
43
steps :
49
44
- name : Store date
Original file line number Diff line number Diff line change @@ -1459,7 +1459,10 @@ List<DartdocOption> createDartdocOptions(
1459
1459
..addAll ([
1460
1460
DartdocOptionArgOnly <Map <String , String >>(
1461
1461
'hosted' ,
1462
- {'pub.dev' : 'https://pub.dev/documentation/%n%/%v%' },
1462
+ {
1463
+ 'pub.dartlang.org' : 'https://pub.dev/documentation/%n%/%v%' ,
1464
+ 'pub.dev' : 'https://pub.dev/documentation/%n%/%v%' ,
1465
+ },
1463
1466
resourceProvider,
1464
1467
help: 'Specify URLs for hosted pub packages' ),
1465
1468
DartdocOptionArgOnly <Map <String , String >>(
Original file line number Diff line number Diff line change @@ -98,8 +98,7 @@ void main() {
98
98
contains ('Tool "drill" returned non-zero exit code' ));
99
99
});
100
100
101
- test ('basic interlinking test' , skip: Platform .version.contains ('2.18' ),
102
- () async {
101
+ test ('basic interlinking test' , () async {
103
102
var dartdoc = await buildDartdoc (
104
103
['--exclude-packages=args' ], _testPackageDir, tempDir);
105
104
var results = await dartdoc.generateDocs ();
Original file line number Diff line number Diff line change @@ -2,4 +2,4 @@ name: sky_engine
2
2
description : package with embedder yaml
3
3
version : 0.0.1
4
4
environment :
5
- sdk : ' >=2.0 .0 <3.0.0'
5
+ sdk : ' >=2.12 .0 <3.0.0'
Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ elif [ "$DARTDOC_BOT" = "packages" ]; then
29
29
PACKAGE_NAME=access PACKAGE_VERSION=" >=1.0.1+2" dart run grinder build-pub-package
30
30
# Negative test for flutter_plugin_tools, make sure right error message is displayed.
31
31
PACKAGE_NAME=flutter_plugin_tools PACKAGE_VERSION=" >=0.0.14+1" dart run grinder build-pub-package 2>&1 | grep " warning: package:flutter_plugin_tools has no documentable libraries"
32
- PACKAGE_NAME=shelf_exception_handler PACKAGE_VERSION=" >=0.2.0" dart run grinder build-pub-package
33
32
elif [ " $DARTDOC_BOT " = " sdk-analyzer" ]; then
34
33
echo " Running all tests against the SDK analyzer"
35
34
unset COVERAGE_TOKEN
Original file line number Diff line number Diff line change @@ -921,7 +921,9 @@ Future<String> _buildPubPackageDocs(
921
921
if (version != null ) ...['-v' , version],
922
922
pubPackageName,
923
923
]);
924
- var cache = Directory (p.join (env['PUB_CACHE' ]! , 'hosted' , 'pub.dev' ));
924
+ var pubHost =
925
+ Platform .version.contains ('2.18' ) ? 'pub.dartlang.org' : 'pub.dev' ;
926
+ var cache = Directory (p.join (env['PUB_CACHE' ]! , 'hosted' , pubHost));
925
927
var pubPackageDirOrig =
926
928
cache.listSync ().firstWhere ((e) => e.path.contains (pubPackageName));
927
929
var pubPackageDir = Directory .systemTemp.createTempSync (pubPackageName);
You can’t perform that action at this time.
0 commit comments