@@ -59,6 +59,8 @@ $filesForWindowsPackage = @(
5959 ' registry.exe' ,
6060 ' RunCommandOnSet.dsc.resource.json' ,
6161 ' RunCommandOnSet.exe' ,
62+ ' sshdconfig.exe' ,
63+ ' sshdconfig.dsc.resource.json' ,
6264 ' windowspowershell.dsc.resource.json' ,
6365 ' wmi.dsc.resource.json' ,
6466 ' wmi.resource.ps1' ,
@@ -83,7 +85,9 @@ $filesForLinuxPackage = @(
8385 ' powershell.dsc.resource.json' ,
8486 ' psDscAdapter/' ,
8587 ' RunCommandOnSet.dsc.resource.json' ,
86- ' runcommandonset'
88+ ' runcommandonset' ,
89+ ' sshdconfig' ,
90+ ' sshdconfig.dsc.resource.json'
8791)
8892
8993$filesForMacPackage = @ (
@@ -103,7 +107,9 @@ $filesForMacPackage = @(
103107 ' powershell.dsc.resource.json' ,
104108 ' psDscAdapter/' ,
105109 ' RunCommandOnSet.dsc.resource.json' ,
106- ' runcommandonset'
110+ ' runcommandonset' ,
111+ ' sshdconfig' ,
112+ ' sshdconfig.dsc.resource.json'
107113)
108114
109115# the list of files other than the binaries which need to be executable
@@ -263,6 +269,7 @@ if (!$SkipBuild) {
263269 # projects are in dependency order
264270 $projects = @ (
265271 " tree-sitter-dscexpression" ,
272+ " tree-sitter-ssh-server-config" ,
266273 " security_context_lib" ,
267274 " dsc_lib" ,
268275 " dsc" ,
@@ -271,14 +278,15 @@ if (!$SkipBuild) {
271278 " powershell-adapter" ,
272279 " process" ,
273280 " runcommandonset" ,
281+ " sshdconfig" ,
274282 " tools/dsctest" ,
275283 " tools/test_group_resource" ,
276284 " y2j" ,
277285 " ."
278286 )
279287 $pedantic_unclean_projects = @ ()
280- $clippy_unclean_projects = @ (" tree-sitter-dscexpression" )
281- $skip_test_projects_on_windows = @ (" tree-sitter-dscexpression" )
288+ $clippy_unclean_projects = @ (" tree-sitter-dscexpression" , " tree-sitter-ssh-server-config " )
289+ $skip_test_projects_on_windows = @ (" tree-sitter-dscexpression" , " tree-sitter-ssh-server-config " )
282290
283291 if ($IsWindows ) {
284292 $projects += $windows_projects
@@ -299,7 +307,8 @@ if (!$SkipBuild) {
299307 try {
300308 Push-Location " $PSScriptRoot /$project " - ErrorAction Stop
301309
302- if ($project -eq ' tree-sitter-dscexpression' ) {
310+ # check if the project is either tree-sitter-dscexpression or tree-sitter-ssh-server-config
311+ if (($project -eq ' tree-sitter-dscexpression' ) -or ($project -eq ' tree-sitter-ssh-server-config' )) {
303312 if ($UpdateLockFile ) {
304313 cargo generate- lockfile
305314 }
0 commit comments