Skip to content

Commit 3b63599

Browse files
committed
Updated build steps
1 parent 85799a1 commit 3b63599

File tree

2 files changed

+51
-11
lines changed

2 files changed

+51
-11
lines changed

BooleanExpressionParser/.vscode/tasks.json

+45-11
Original file line numberDiff line numberDiff line change
@@ -14,28 +14,62 @@
1414
"problemMatcher": "$msCompile"
1515
},
1616
{
17-
"label": "publish",
17+
"label": "watch",
1818
"command": "dotnet",
1919
"type": "process",
2020
"args": [
21-
"publish",
22-
"${workspaceFolder}/BooleanExpressionParser.csproj",
23-
"/property:GenerateFullPaths=true",
24-
"/consoleloggerparameters:NoSummary"
21+
"watch",
22+
"run",
23+
"--project",
24+
"${workspaceFolder}/BooleanExpressionParser.csproj"
2525
],
2626
"problemMatcher": "$msCompile"
2727
},
2828
{
29-
"label": "watch",
29+
"label": "publish (windows)",
3030
"command": "dotnet",
3131
"type": "process",
3232
"args": [
33-
"watch",
34-
"run",
35-
"--project",
36-
"${workspaceFolder}/BooleanExpressionParser.csproj"
33+
"publish",
34+
"${workspaceFolder}/BooleanExpressionParser.csproj",
35+
"-c",
36+
"Release",
37+
"-r",
38+
"win-x64",
39+
"--self-contained",
40+
"false",
41+
"/p:PublishSingleFile=true",
42+
"/p:PublishTrimmed=false"
43+
]
44+
},
45+
{
46+
"label": "publish (linux)",
47+
"command": "dotnet",
48+
"type": "process",
49+
"args": [
50+
"publish",
51+
"${workspaceFolder}/BooleanExpressionParser.csproj",
52+
"-c",
53+
"Release",
54+
"-r",
55+
"linux-x64",
56+
"--self-contained",
57+
"false",
58+
"/p:PublishSingleFile=true",
59+
"/p:PublishTrimmed=false"
60+
]
61+
},
62+
{
63+
"label": "publish",
64+
"dependsOn": [
65+
"publish (windows)",
66+
"publish (linux)"
3767
],
38-
"problemMatcher": "$msCompile"
68+
"problemMatcher": [],
69+
"group": {
70+
"kind": "build",
71+
"isDefault": true
72+
}
3973
}
4074
]
4175
}

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ A simple boolean expression parser written in C#. It parses boolean expressions
55

66
## Contents <!-- omit in toc -->
77

8+
- [Running](#running)
89
- [Building](#building)
910
- [Usage](#usage)
1011
- [Expressions](#expressions)
@@ -18,6 +19,11 @@ A simple boolean expression parser written in C#. It parses boolean expressions
1819
- [Found an issue?](#found-an-issue)
1920

2021

22+
## Running
23+
24+
After downloading a release from the Releases section to the right, you can run the program on either Windows or Linux by running `BooleanExpressionParser.exe` or `BooleanExpressionParser` in the terminal respectively. Note, you'll need .NET 6 installed on your machine to run the program.
25+
26+
2127
## Building
2228

2329
To build the project, you'll need .NET 6 installed. You can then build the project with `dotnet build` or run it with `dotnet run`. Alternatively, you can open the project in Visual Studio or Visual Studio Code, the latter of which has config in the repo.

0 commit comments

Comments
 (0)