From 9aef7e24853e31f97eb57358ca5c2ef510ed7af0 Mon Sep 17 00:00:00 2001 From: Summpot Date: Mon, 14 Aug 2023 19:05:25 +0800 Subject: [PATCH] Update --- build.ps1 | 2 +- scripts/build.psm1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.ps1 b/build.ps1 index e88e5b4..dca98b9 100644 --- a/build.ps1 +++ b/build.ps1 @@ -12,7 +12,7 @@ New-MainNuspec -OutputDir $NuspecsDir -Version $Version -ProjectName "tree-sitte New-Nuspec -RID $RID -OutputDir $NuspecsDir -Version $Version -ProjectName "tree-sitter" Build-CMakeProject -RID $RID -CMakeBuildDir $CMakeBuildDir -OutputDir $NuspecsDir -ProjectDir $TreeSitterDir Get-ChildItem -Path $ParsersDir | ForEach-Object { - Build-NodeGypProject -ProjectDir $_ -OutputDir $NuspecsDir -RID $RID + Build-NodeGypProject -ProjectDir $_.FullName -OutputDir $NuspecsDir -RID $RID New-MainNuspec -OutputDir $NuspecsDir -Version $Version -ProjectName $_.Name New-Nuspec -RID $RID -OutputDir $NuspecsDir -Version $Version -ProjectName $_.Name } \ No newline at end of file diff --git a/scripts/build.psm1 b/scripts/build.psm1 index 596ab33..0c5b4ec 100644 --- a/scripts/build.psm1 +++ b/scripts/build.psm1 @@ -147,7 +147,7 @@ function Build-CMakeProject { function Build-NodeGypProject { Param( - [string] $ProjectDir, + $ProjectDir, [string] $OutputDir, [string] $RID )