Skip to content

Commit

Permalink
[dev_build] v 1.1.1+6 remove extra log and stop after pub get at the …
Browse files Browse the repository at this point in the history
…workspace root
  • Loading branch information
alextekartik committed Jan 7, 2025
1 parent 0a180cf commit 196c07a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion dev_build/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 1.1.1+5
## 1.1.1+6

* Add `pathGetResolvedPackagePath`, `pathGetPubspecOverridesYamlPath`, `pathGetResolvedWorkPath`,
`pathGetPackageConfigJsonPath`, `pathGetResolvedPackagePath`, `pathGetResolvedWorkPath` helpers
Expand Down
2 changes: 1 addition & 1 deletion dev_build/lib/src/package/pub_io_package.dart
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class PubIoPackage {
/// Ready (pubspec.yaml loaded)
late final ready = () async {
pubspecYaml = await pathGetPubspecYamlMap(path);
stdout.writeln('${normalize(absolute(path))}:');
// stdout.writeln('${normalize(absolute(path))}:');
isFlutter = pubspecYamlSupportsFlutter(pubspecYaml);
_useFlutterPub = isFlutter;
if (!isFlutter && (isWorkspace || hasWorkspaceResolution)) {
Expand Down
10 changes: 5 additions & 5 deletions dev_build/lib/src/run_ci.dart
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,10 @@ Future<void> singlePackageRunCiImpl(
await runScript('$dofPub get$offlineSuffix');
}
}

// Enough for workspace root
if (ciRunner.isWorkspaceRoot) {
return;
}
if (options.fixOnly) {
await runScript('dart fix --apply');
}
Expand All @@ -317,10 +320,7 @@ Future<void> singlePackageRunCiImpl(
await runScript('dart run $_runCiOverridePath');
return;
}
// Enough for workspace root
if (ciRunner.isWorkspaceRoot) {
return;
}

await ciRunner.format();
await ciRunner.analyze();
if (isFlutterPackage) {
Expand Down
2 changes: 1 addition & 1 deletion dev_build/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: dev_build
version: 1.1.1+5
version: 1.1.1+6
description: Development utilities for dart and flutter packages. CI and build helpers.
repository: https://github.com/tekartik/dev_test.dart/tree/master/dev_build

Expand Down

0 comments on commit 196c07a

Please sign in to comment.