Skip to content

Commit

Permalink
more fixes to powershell provisioner
Browse files Browse the repository at this point in the history
  • Loading branch information
DaMandal0rian committed Apr 5, 2024
1 parent 9ebe957 commit 0d57169
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,8 @@ build {
"cargo --version",

"# Install common tools with cargo",
"cargo install cargo-cache",
"cargo install cargo-sweep",
"cargo install cargo-cache --no-default-features",
"cargo install cargo-sweep --no-default-features",

"# Cleanup Cargo crates cache",
"Remove-Item \"$env:CARGO_HOME\\registry\\*\" -Recurse -Force",
Expand Down Expand Up @@ -219,7 +219,6 @@ build {

"# Verify LLVM installation",
"clang --version",
"llvm-config --version",

"Write-Host \"LLVM and Clang have been successfully installed and added to the PATH.\"",

Expand All @@ -240,6 +239,11 @@ build {
"# Install .NET SDK",
"choco install dotnet-sdk -y",

"# Add .NET SDK to the PATH",
"$dotnetSdkPath = \"C:\\Program Files\\dotnet\"",
"[Environment]::SetEnvironmentVariable(\"Path\", $env:Path + \";$dotnetSdkPath\", [System.EnvironmentVariableTarget]::Machine)",
"$env:Path = [System.Environment]::GetEnvironmentVariable(\"Path\",\"Machine\")",

"# Install AzureSignTool",
"Write-Host \"Install AzureSignTool\"",
"dotnet tool install --global AzureSignTool",
Expand Down

0 comments on commit 0d57169

Please sign in to comment.