PSRP will of course still require it, but now the managed host sets up the assembly load context, meaning we can depend on the emitted binary from dotnet-cli.
6 lines
242 B
Bash
Executable file
6 lines
242 B
Bash
Executable file
./bin/Microsoft.PowerShell.Linux.Host -c "Invoke-Pester src/pester-tests/$1 -OutputFile pester-tests.xml -OutputFormat NUnitXml"
|
|
# XML files are not executable
|
|
chmod -x pester-tests.xml
|
|
# Fix tty due to possible bug in .NET
|
|
stty echo || true
|