From 06ab109d021d561174b1826e89720580650e93d0 Mon Sep 17 00:00:00 2001 From: nilsreichardt Date: Sun, 24 Sep 2023 23:02:12 +0200 Subject: [PATCH] Add website to Sharezone Repo CLI --- 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, ]); } }