Skip to content

Commit

Permalink
migrate to dart pub (#3227)
Browse files Browse the repository at this point in the history
* migrate to `dart pub`

* +
  • Loading branch information
pq authored Feb 11, 2022
1 parent 88666c8 commit acac694
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tool/bot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ elif [ "$LINTER_BOT" = "coverage" ]; then

status=$?

pub global activate coverage
dart pub global activate coverage

echo "Collecting coverage on port $OBS_PORT..."

Expand Down
6 changes: 4 additions & 2 deletions tool/pana_baseline.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,14 @@ void main() async {
print(baseline);

print('Installing pana...');
var activate = await Process.run('pub', ['global', 'activate', 'pana']);
var activate =
await Process.run('dart', ['pub', 'global', 'activate', 'pana']);
expectOk(activate);
print(activate.stdout);

print('Running pana...');
var output = await Process.run('pub', [
var output = await Process.run('dart', [
'pub',
'global',
'run',
'pana',
Expand Down

0 comments on commit acac694

Please sign in to comment.