mirror of
https://github.com/ipetkov/crane.git
synced 2024-12-01 17:27:23 +03:00
14 lines
323 B
Markdown
14 lines
323 B
Markdown
To build a cargo project without extra tests, run the following in a fresh
|
|
directory:
|
|
|
|
```sh
|
|
nix flake init -t github:ipetkov/crane#quick-start-simple
|
|
```
|
|
|
|
Alternatively, if you have an existing project already, copy and paste the
|
|
following `flake.nix`:
|
|
|
|
```nix
|
|
{{#include ../../examples/quick-start-simple/flake.nix}}
|
|
```
|