Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add website to Sharezone Repo CLI #1092

Merged
merged 1 commit into from
Sep 25, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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