initial structure + nix build (#1)

(incl. cross-compiling)
This commit is contained in:
Jens K.
2024-11-27 20:57:43 +01:00
committed by GitHub
parent f4012856a4
commit b95d7ecfb2
8 changed files with 1158 additions and 7 deletions

View File

@@ -1,2 +1,36 @@
# timr
tim:r
# tim:r
## Development
### Requirements
#### Nix (recommend)
`cd` into root directory.
If `direnv` is installed, run `direnv allow` once to install dependencies. Others run `nix develop`.
#### Non Nix user
- [`Rust`](https://www.rust-lang.org/)
#### Build/run
```sh
cargo run
```
## Build release
- Linux
```sh
nix build
```
- Windows (cross-compilation)
```sh
nix build .#windows
```