Skip to content

Commit 9e26e21

Browse files
committed
move out developer guide out of reference
1 parent 64608a8 commit 9e26e21

File tree

2 files changed

+23
-14
lines changed

2 files changed

+23
-14
lines changed

CONTRIBUTING.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
To run `nixos-anywhere` from the repo:
2+
3+
```console
4+
nix run . -- --help
5+
```
6+
7+
To format the code:
8+
9+
```console
10+
nix fmt
11+
```
12+
13+
To run all tests:
14+
15+
```console
16+
nix flake check -vL
17+
```
18+
19+
To run an individual test:
20+
21+
```
22+
nix build .#checks.x86_64-linux.from-nixos -vL
23+
```

docs/reference.md

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -49,20 +49,6 @@ Options:
4949
build the closure on the remote machine instead of locally and copy-closuring it
5050
```
5151

52-
## Developer guide
53-
54-
To run `nixos-anywhere` from the repo:
55-
56-
```shell
57-
nix run . -- --help
58-
```
59-
60-
To format the code
61-
62-
```shell
63-
nix fmt
64-
```
65-
6652
## Explanation of known error messages
6753

6854
TODO: List actual error messages and meanings. Include:

0 commit comments

Comments
 (0)