mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 07:00:48 +00:00
70af3b126a
The format script can be used to automatically format the Nix source files and also verify that the files are formatted using the `-c` command argument. At the moment some files are exempt from the formatting to avoid causing merge conflicts in active pull requests. Finally, update the contribution guidelines to note that `nixfmt` should be used.
13 lines
204 B
YAML
13 lines
204 B
YAML
language: nix
|
|
|
|
os:
|
|
- linux
|
|
- osx
|
|
|
|
before_script:
|
|
- mkdir -m 0755 -p /nix/var/nix/{profiles,gcroots}/per-user/$USER
|
|
|
|
script:
|
|
- ./format -c
|
|
- nix-shell . -A install
|
|
- nix-shell tests -A run.all
|