diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml new file mode 100644 index 0000000..7aaf178 --- /dev/null +++ b/.github/workflows/dotnet.yml @@ -0,0 +1,29 @@ +# dbj@dbj.org CC BY SA 4.0 +# This workflow will build a .NET project +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net + +name: .NET + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Setup .NET + uses: actions/setup-dotnet@v3 + with: + dotnet-version: 6.0.x + - name: Restore dependencies + run: dotnet restore + - name: Build + run: dotnet build --no-restore + - name: Test + run: dotnet test --no-build --verbosity normal diff --git a/.gitignore b/.gitignore index 154e127..0662ca1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +pub/ ## Ignore Visual Studio temporary files, build results, and ## files generated by popular Visual Studio add-ons. ## diff --git a/readme.md b/readme.md index 4f45a70..8a81cfd 100644 --- a/readme.md +++ b/readme.md @@ -1,3 +1,5 @@ +> NOTE: this readme like everything in here is W.I.P. +

DBJ CORE

# Why? @@ -78,4 +80,4 @@ We use, wherever we can this .NET optimization: ``` It is not a magic wand. Just a hint to a compiler. But very effective. -Farewell HINT: Code simple. If can not, always check your clever code with https://sharplab.io . Always. \ No newline at end of file +
\ No newline at end of file diff --git a/release.cmd b/release.cmd new file mode 100644 index 0000000..710b54a --- /dev/null +++ b/release.cmd @@ -0,0 +1,3 @@ +@REM https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-publish +@cls +dotnet publish -c Release -o ./pub \ No newline at end of file