mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2026-08-24 10:05:29 -05:00
* add poetry check ... well, check * add poetry check to pre-commit * touchup * Update activated.sh * Update activated.ps1
15 lines
346 B
PowerShell
15 lines
346 B
PowerShell
$ErrorActionPreference = "Stop"
|
|
|
|
$script_directory = Split-Path $MyInvocation.MyCommand.Path -Parent
|
|
|
|
$env_directory = $args[0]
|
|
$command = $args[1]
|
|
$parameters = [System.Collections.ArrayList]$args
|
|
$parameters.RemoveAt(0)
|
|
$parameters.RemoveAt(0)
|
|
|
|
& $script_directory/$env_directory/Scripts/Activate.ps1
|
|
& $command @parameters
|
|
|
|
exit $LASTEXITCODE
|