We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00b200b commit cbfc8efCopy full SHA for cbfc8ef
CritLang/AssemblyInfo.cs
CritLang/build.ps1
@@ -3,7 +3,8 @@ param (
3
[switch]$run = $false,
4
[switch]$publish = $false,
5
[string]$target = $null,
6
- [switch]$help = $false
+ [switch]$help = $false,
7
+ [string]$proj = "CritLang.csproj"
8
)
9
10
@@ -14,6 +15,7 @@ if ($help) {
14
15
Write-Host " -run: Run the application"
16
Write-Host " -publish: Publish the application"
17
Write-Host " -target: The target to publish for"
18
+ Write-Host " -proj: The project to build"
19
Write-Host " -help: Show this help"
20
exit
21
}
@@ -26,7 +28,7 @@ if ($run) {
26
28
if ($target -eq $null) {
27
29
throw "A file to run must be specified"
30
- return dotnet run -- $target
31
+ return dotnet run --project $proj $target
32
33
34
if ($publish) {
0 commit comments