Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Himura2la committed Dec 8, 2021
1 parent 17a8001 commit 25ae628
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions vk-inviter/make.ps1
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
param (
[switch] $Init,
[switch] $Clean,
[switch] $Compile
[switch] $Compile,
[string] $PythonCommand = "python"
)
Set-Location $PSScriptRoot
$didSomething = $false

if ($Init) {
& py -m venv ./.venv
& $PythonCommand -m venv ./.venv
. ./.venv/Scripts/Activate.ps1

& ./.venv/Scripts/python -m pip install --upgrade pip
Expand Down Expand Up @@ -35,4 +36,4 @@ if ($Compile) {

if (!$didSomething) {
Get-Help $PSCommandPath
}
}

0 comments on commit 25ae628

Please sign in to comment.