https://github.com/chneau/openhours-cs
Yes, openhours, but in C#. AGAIN
https://github.com/chneau/openhours-cs
Last synced: 7 months ago
JSON representation
Yes, openhours, but in C#. AGAIN
- Host: GitHub
- URL: https://github.com/chneau/openhours-cs
- Owner: chneau
- License: mit
- Created: 2020-07-21T22:25:32.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-07-31T11:47:08.000Z (almost 3 years ago)
- Last Synced: 2025-02-10T20:19:17.557Z (over 1 year ago)
- Language: C#
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# openhours-cs
Yes, openhours, but in C#. AGAIN
## dev commands
- `dotnet new classlib -f netcoreapp3.1 -n Chneau.Time -o . --force` to init the csproj file and Class1.cs file
- `dotnet new gitignore --force` to init the gitignore file
Nope:
- `dotnet new xunit -o Tests` to init a test package?
- `dotnet test Tests` to run tests
Now:
- https://stackoverflow.com/a/56646051
- using the files generated from `dotnet new xunit -o Tests` modify csproj file to contains tests when not realease
- ignoring all `*.Tests.cs` file when release
- it shoulds look like this:
```xml
```
- `dotnet test` to run tests
- `dotnet watch test` to run tests when file is modified - the best.
- Out of context: `dotnet build --configuration Release` to build realease
- Out of context: `dotnet build --runtime ubuntu.18.04-x64` to build for ubuntu