An open API service indexing awesome lists of open source software.

https://github.com/mateusrodrigues/whatime

Whatime is a simple .NET app to demonstrate snap packaging
https://github.com/mateusrodrigues/whatime

csharp dotnet snapcraft

Last synced: 3 months ago
JSON representation

Whatime is a simple .NET app to demonstrate snap packaging

Awesome Lists containing this project

README

          

# whatime


whatime

Whatime is a simple date/time tool created to demonstrate how to build snap packages.

[![asciicast](https://asciinema.org/a/vFCsoPJk7F9USwk0AfvoNN6iv.svg)](https://asciinema.org/a/vFCsoPJk7F9USwk0AfvoNN6iv)

## How to Build

1. Clone this repository
2. Build the Snap package with
```
$ snapcraft --debug --use-lxd
```
- `--debug` to get a shell into the build container in case an error occurs mid-build.
- `--use-lxd` to use a container as the build infrastructure.
3. Install the Snap on your system with
```
$ sudo snap install whatime_1.0.0_amd64.snap --devmode
```
4. Run the app
```
$ whatime --in "New York"
```