Skip to content

Commit

Permalink
Merge pull request #273 from espressif/feat/added_driver_check
Browse files Browse the repository at this point in the history
feat(build): Added check for PrepareIdfDriver function
  • Loading branch information
jakub-kocka authored Sep 10, 2024
2 parents 81b8e6e + 6ccee5d commit e947fd1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Build-Installer.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,9 @@ function PrepareIdfEclipse {

function PrepareIdfDriver {
&".\build\$InstallerType\lib\idf-env.exe" driver download --espressif --ftdi --silabs --wch
if ($LASTEXITCODE -ne 0) {
FailBuild -Message "Command failed with exit code: $LASTEXITCODE. Aborting."
}
}

function PrepareOfflineBranches {
Expand Down

0 comments on commit e947fd1

Please sign in to comment.