mirror of
https://github.com/aljazceru/notedeck.git
synced 2025-12-17 08:44:20 +01:00
compilation instructions
This commit is contained in:
22
README.md
22
README.md
@@ -6,3 +6,25 @@ Alpha! WIP!
|
||||
|
||||
<img src="https://cdn.jb55.com/s/bebeeadf7001fae1.png" height="500px" />
|
||||
|
||||
## Compiling
|
||||
|
||||
The `shell.nix` provides a reproducible build environment for android and rust. I recommend using [direnv][direnv] to load this environment when you `cd` into the directory.
|
||||
|
||||
Once you have your dev shell setup, you can build with this command:
|
||||
|
||||
```bash
|
||||
$ cargo apk run --release
|
||||
```
|
||||
|
||||
This will build and run the app on your android device.
|
||||
|
||||
You can also just type
|
||||
|
||||
```bash
|
||||
$ cargo run --release
|
||||
```
|
||||
|
||||
To run the multiplatform desktop version of the app called NoteDeck.
|
||||
|
||||
|
||||
[direnv]: https://direnv.net/
|
||||
|
||||
Reference in New Issue
Block a user