crane/docs/examples/quick-start-simple.md

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
323 B
Markdown
Raw Normal View History

To build a cargo project without extra tests, run the following in a fresh
directory:
2022-12-27 01:27:13 +03:00
```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`:
2022-12-27 01:27:13 +03:00
```nix
{{#include ../../examples/quick-start-simple/flake.nix}}
```