Skip to content

Commit

Permalink
[tool] Temporarily skip wearable_rotary from build-examples
Browse files Browse the repository at this point in the history
  • Loading branch information
JSUYA committed Oct 23, 2024
1 parent 77f8a04 commit 22e10e8
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions tools/lib/src/build_examples_command.dart
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,16 @@ class BuildExamplesCommand extends PackageLoopingCommand {

bool builtSomething = false;
for (final RepositoryPackage example in package.getExamples()) {
final String packageName = getRelativePosixPath(
example.directory,
from: packagesDir,
);
// TODO(jsuya): Temporarily skip build test of wearable_rotary.
if (packageName == 'wearable_rotary/example') {
builtSomething = true;
print('Skip build test of wearable_rotary/example.');
continue;
}
int exitCode = await processRunner.runAndStream(
'flutter-tizen',
<String>['pub', 'get'],
Expand All @@ -44,10 +54,6 @@ class BuildExamplesCommand extends PackageLoopingCommand {
workingDir: example.directory,
);
if (exitCode != 0) {
final String packageName = getRelativePosixPath(
example.directory,
from: packagesDir,
);
errors.add(packageName);
}
}
Expand Down

0 comments on commit 22e10e8

Please sign in to comment.