Skip to content

Commit

Permalink
Updated build steps
Browse files Browse the repository at this point in the history
  • Loading branch information
tomc128 committed Oct 20, 2022
1 parent 85799a1 commit 3b63599
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 11 deletions.
56 changes: 45 additions & 11 deletions BooleanExpressionParser/.vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,28 +14,62 @@
"problemMatcher": "$msCompile"
},
{
"label": "publish",
"label": "watch",
"command": "dotnet",
"type": "process",
"args": [
"publish",
"${workspaceFolder}/BooleanExpressionParser.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
"watch",
"run",
"--project",
"${workspaceFolder}/BooleanExpressionParser.csproj"
],
"problemMatcher": "$msCompile"
},
{
"label": "watch",
"label": "publish (windows)",
"command": "dotnet",
"type": "process",
"args": [
"watch",
"run",
"--project",
"${workspaceFolder}/BooleanExpressionParser.csproj"
"publish",
"${workspaceFolder}/BooleanExpressionParser.csproj",
"-c",
"Release",
"-r",
"win-x64",
"--self-contained",
"false",
"/p:PublishSingleFile=true",
"/p:PublishTrimmed=false"
]
},
{
"label": "publish (linux)",
"command": "dotnet",
"type": "process",
"args": [
"publish",
"${workspaceFolder}/BooleanExpressionParser.csproj",
"-c",
"Release",
"-r",
"linux-x64",
"--self-contained",
"false",
"/p:PublishSingleFile=true",
"/p:PublishTrimmed=false"
]
},
{
"label": "publish",
"dependsOn": [
"publish (windows)",
"publish (linux)"
],
"problemMatcher": "$msCompile"
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
}
}
]
}
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ A simple boolean expression parser written in C#. It parses boolean expressions

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

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


## Running

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.


## Building

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.
Expand Down

0 comments on commit 3b63599

Please sign in to comment.