Skip to content

Commit

Permalink
Add echo statement for virtual environment activation in PowerShell s…
Browse files Browse the repository at this point in the history
…cript
  • Loading branch information
Alex Al-Saffar committed Oct 3, 2024
1 parent 2e5a601 commit 0951a64
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/machineconfig/setup_windows/ve.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,10 @@ if (-not (Get-Command git.exe -ErrorAction SilentlyContinue)) {
git clone https://github.com/thisismygitrepo/crocodile.git --depth 4
git clone https://github.com/thisismygitrepo/machineconfig --depth 4 # Choose browser-based authentication.


cd $HOME\code\crocodile
if (-not $env:VIRTUAL_ENV) {
echo "Activating virtual environmen @ $HOME\venvs\$ve_name"
& "$HOME\venvs\$ve_name\Scripts\Activate.ps1" -ErrorAction Stop
}

Expand Down

0 comments on commit 0951a64

Please sign in to comment.