From 4b5d533e853f6053ae3053224a7a3078f42f4e10 Mon Sep 17 00:00:00 2001 From: Nils Reichardt Date: Mon, 25 Sep 2023 10:22:56 +0200 Subject: [PATCH] Add website to Sharezone Repo CLI (#1092) --- tools/sz_repo_cli/lib/src/common/src/sharezone_repo.dart | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tools/sz_repo_cli/lib/src/common/src/sharezone_repo.dart b/tools/sz_repo_cli/lib/src/common/src/sharezone_repo.dart index f2cf88b9e..07460998d 100644 --- a/tools/sz_repo_cli/lib/src/common/src/sharezone_repo.dart +++ b/tools/sz_repo_cli/lib/src/common/src/sharezone_repo.dart @@ -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', @@ -27,6 +28,7 @@ class SharezoneRepo { required this.sharezoneFlutterApp, required this.dartLibraries, required this.sharezoneCiCdTool, + required this.sharezoneWebsite, }); factory SharezoneRepo(Directory rootDirectory) { @@ -45,6 +47,9 @@ class SharezoneRepo { 'tools', 'sz_repo_cli', ))), + sharezoneWebsite: Package.fromDirectory( + Directory(path.join(root, 'website')), + ), ); } @@ -90,6 +95,7 @@ class SharezoneRepo { return dartLibraries.streamPackages().endWithMany([ sharezoneFlutterApp, sharezoneCiCdTool, + sharezoneWebsite, ]); } }