We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17a8001 commit 25ae628Copy full SHA for 25ae628
1 file changed
vk-inviter/make.ps1
@@ -1,13 +1,14 @@
1
param (
2
[switch] $Init,
3
[switch] $Clean,
4
- [switch] $Compile
+ [switch] $Compile,
5
+ [string] $PythonCommand = "python"
6
)
7
Set-Location $PSScriptRoot
8
$didSomething = $false
9
10
if ($Init) {
- & py -m venv ./.venv
11
+ & $PythonCommand -m venv ./.venv
12
. ./.venv/Scripts/Activate.ps1
13
14
& ./.venv/Scripts/python -m pip install --upgrade pip
@@ -35,4 +36,4 @@ if ($Compile) {
35
36
37
if (!$didSomething) {
38
Get-Help $PSCommandPath
-}
39
+}
0 commit comments