diff --git a/aoc2023.ps1 b/aoc2023.ps1 index e425f7d..b52f5cc 100755 --- a/aoc2023.ps1 +++ b/aoc2023.ps1 @@ -1,3 +1,4 @@ +#!/usr/bin/env pwsh [CmdletBinding()] param ( [switch] $Release, diff --git a/build-ls.ps1 b/build-ls.ps1 index 91a587d..29653ce 100755 --- a/build-ls.ps1 +++ b/build-ls.ps1 @@ -1,3 +1,4 @@ +#!/usr/bin/env pwsh [CmdletBinding()] param ( ) diff --git a/build.ps1 b/build.ps1 index c0c0e61..d5c79d7 100755 --- a/build.ps1 +++ b/build.ps1 @@ -1,3 +1,4 @@ +#!/usr/bin/env pwsh [CmdletBinding()] Param( [Parameter(Position=0,Mandatory=$false,ValueFromRemainingArguments=$true)] diff --git a/build/_build.csproj b/build/_build.csproj index 92d170f..8391b05 100644 --- a/build/_build.csproj +++ b/build/_build.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 12.0 CS0649;CS0169;CA1050;CA1822;CA2211;IDE1006 @@ -10,6 +10,8 @@ .. 1 false + + true diff --git a/cli.ps1 b/cli.ps1 index 243183d..f59391e 100755 --- a/cli.ps1 +++ b/cli.ps1 @@ -1,4 +1,4 @@ - +#!/usr/bin/env pwsh [CmdletBinding()] param ( [switch] $NoBuild, diff --git a/editors/vscode/visp-fs/install-dev.ps1 b/editors/vscode/visp-fs/install-dev.ps1 index a3728f7..ea619e5 100755 --- a/editors/vscode/visp-fs/install-dev.ps1 +++ b/editors/vscode/visp-fs/install-dev.ps1 @@ -1,4 +1,4 @@ - +#!/usr/bin/env pwsh function ExecSafe([scriptblock] $cmd) { & $cmd diff --git a/fmt.ps1 b/fmt.ps1 index aa29413..dad38f3 100755 --- a/fmt.ps1 +++ b/fmt.ps1 @@ -1,3 +1,4 @@ +#!/usr/bin/env pwsh [CmdletBinding()] param ( ) diff --git a/generate-tests.ps1 b/generate-tests.ps1 index d076767..2bfef1f 100644 --- a/generate-tests.ps1 +++ b/generate-tests.ps1 @@ -1,4 +1,4 @@ - +#!/usr/bin/env pwsh [CmdletBinding()] param ( [switch] $NoBuild, diff --git a/setup-extension.ps1 b/setup-extension.ps1 index 9548bb1..e7e2796 100755 --- a/setup-extension.ps1 +++ b/setup-extension.ps1 @@ -1,3 +1,5 @@ +#!/usr/bin/env pwsh + [CmdletBinding()] param ( [switch] $NoBuild, diff --git a/verify.ps1 b/verify.ps1 index 096ed35..8bec370 100755 --- a/verify.ps1 +++ b/verify.ps1 @@ -1,3 +1,5 @@ +#!/usr/bin/env pwsh + [CmdletBinding()] param ( [Parameter(Position=0,Mandatory=$false,ValueFromRemainingArguments=$true)]