diff options
Diffstat (limited to 'scripts/build-windows.ps1')
-rw-r--r-- | scripts/build-windows.ps1 | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/scripts/build-windows.ps1 b/scripts/build-windows.ps1 index ca4fabfe8..3c85e0a38 100644 --- a/scripts/build-windows.ps1 +++ b/scripts/build-windows.ps1 | |||
@@ -127,8 +127,6 @@ if((-not $NPM_CONFIG_MSVS_VERSION) -or -not ($EXPECTED_MSVST_VERSION -contains $ | |||
127 | } | 127 | } |
128 | 128 | ||
129 | 129 | ||
130 | |||
131 | |||
132 | # ----------------------------------------------------------------------------- | 130 | # ----------------------------------------------------------------------------- |
133 | # Ensure that the system dependencies are at the correct version - recover if not | 131 | # Ensure that the system dependencies are at the correct version - recover if not |
134 | # Check pnpm version | 132 | # Check pnpm version |
@@ -148,19 +146,18 @@ if ($ACTUAL_PNPM_VERSION -ne $EXPECTED_RECIPES_PNPM_VERSION) { | |||
148 | } | 146 | } |
149 | 147 | ||
150 | # ----------------------------------------------------------------------------- | 148 | # ----------------------------------------------------------------------------- |
151 | # Now the meat..... | ||
152 | & pnpm i | ||
153 | & pnpm prepare-code | ||
154 | & pnpm lint | ||
155 | & pnpm test | ||
156 | |||
157 | # ----------------------------------------------------------------------------- | ||
158 | Write-Host "*************** Building recipes ***************" | 149 | Write-Host "*************** Building recipes ***************" |
159 | Push-Location recipes | 150 | Push-Location recipes |
160 | pnpm i && pnpm lint && pnpm reformat-files && pnpm package | 151 | pnpm i && pnpm lint && pnpm reformat-files && pnpm package |
161 | Pop-Location | 152 | Pop-Location |
162 | 153 | ||
163 | # ----------------------------------------------------------------------------- | 154 | # ----------------------------------------------------------------------------- |
155 | # Now the meat..... | ||
156 | & pnpm i | ||
157 | & pnpm prepare-code | ||
158 | & pnpm lint | ||
159 | & pnpm test | ||
160 | |||
164 | Write-Host "*************** Building app ***************" | 161 | Write-Host "*************** Building app ***************" |
165 | if ($env:PROCESSOR_ARCHITECTURE -eq "ARM64") { | 162 | if ($env:PROCESSOR_ARCHITECTURE -eq "ARM64") { |
166 | $TARGET_ARCH="arm64" | 163 | $TARGET_ARCH="arm64" |