Skip to content

Commit

Permalink
Add website to Sharezone Repo CLI (#1092)
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsreichardt authored Sep 25, 2023
1 parent 7aff0ee commit 4b5d533
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tools/sz_repo_cli/lib/src/common/src/sharezone_repo.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ class SharezoneRepo {
final Directory location;
final Package sharezoneFlutterApp;
final Package sharezoneCiCdTool;
final Package sharezoneWebsite;
final DartLibraries dartLibraries;

File get commandsSourceOfTruthYamlFile => File(path.join(location.path, 'bin',
Expand All @@ -27,6 +28,7 @@ class SharezoneRepo {
required this.sharezoneFlutterApp,
required this.dartLibraries,
required this.sharezoneCiCdTool,
required this.sharezoneWebsite,
});

factory SharezoneRepo(Directory rootDirectory) {
Expand All @@ -45,6 +47,9 @@ class SharezoneRepo {
'tools',
'sz_repo_cli',
))),
sharezoneWebsite: Package.fromDirectory(
Directory(path.join(root, 'website')),
),
);
}

Expand Down Expand Up @@ -90,6 +95,7 @@ class SharezoneRepo {
return dartLibraries.streamPackages().endWithMany([
sharezoneFlutterApp,
sharezoneCiCdTool,
sharezoneWebsite,
]);
}
}
Expand Down

0 comments on commit 4b5d533

Please sign in to comment.