Skip to content

Commit

Permalink
[docs] Add Build and Test Locally section (#76)
Browse files Browse the repository at this point in the history
* Add `Build and Test Locally` section

* Update README.md
  • Loading branch information
yotamloe authored Sep 8, 2024
1 parent aa517b0 commit 05aecc5
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,28 @@ Prerequisites:
- On console applications, logs are flushed before the app exits
- Enable debug mode to see debug messages and errors in the console output and trace log
- Provided with sample applications and configuration examples

## Build and Test Locally

This project uses .NET 8.0 and can be built and tested locally. Follow the steps below to do so:

1. Clone the repository

```bash
git clone https://github.com/logzio/logzio-dotnet.git
```

2. Go to `./src` directory

```bash
cd logzio-dotnet/src
```

3. Build and run tests

```bash
dotnet restore logzio-dotnet.sln
dotnet build logzio-dotnet.sln /p:Configuration=Release
dotnet test ./UnitTests/UnitTests.csproj
dotnet test ./IntegrationTests/IntegrationTests.csproj
```

0 comments on commit 05aecc5

Please sign in to comment.