David Fowler
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
4 additions and
4 deletions
-
activate.ps1
-
activate.sh
|
|
|
@ -11,7 +11,7 @@ if ($MyInvocation.CommandOrigin -eq 'runspace') { |
|
|
|
exit 1 |
|
|
|
} |
|
|
|
|
|
|
|
function tye() { |
|
|
|
function dtye() { |
|
|
|
$ProjectPath = Join-Path (Join-Path $PSScriptRoot "src") "tye" |
|
|
|
dotnet run --project "$ProjectPath" @args |
|
|
|
} |
|
|
|
@ -34,7 +34,7 @@ function deactivate ([switch]$init) { |
|
|
|
if (-not $init) { |
|
|
|
# Remove the deactivate and dev-tye functions |
|
|
|
Remove-Item function:deactivate |
|
|
|
Remove-Item function:tye |
|
|
|
Remove-Item function:dtye |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@ -32,7 +32,7 @@ if [ $sourced -eq 0 ]; then |
|
|
|
exit 1 |
|
|
|
fi |
|
|
|
|
|
|
|
tye () { |
|
|
|
dtye () { |
|
|
|
dotnet run --project "$THIS_SCRIPT/src/tye" "$@" |
|
|
|
} |
|
|
|
|
|
|
|
@ -61,7 +61,7 @@ deactivate () { |
|
|
|
if [ ! "${1:-}" = "init" ] ; then |
|
|
|
# Remove the deactivate function |
|
|
|
unset -f deactivate |
|
|
|
unset -f tye |
|
|
|
unset -f dtye |
|
|
|
fi |
|
|
|
} |
|
|
|
|
|
|
|
|