mirror of
https://github.com/Superredstone/nixos.git
synced 2026-03-07 20:28:08 +01:00
Added a command to format code
This commit is contained in:
3
Justfile
3
Justfile
@@ -1,6 +1,6 @@
|
|||||||
[default]
|
[default]
|
||||||
_default:
|
_default:
|
||||||
@just --list
|
@just --list
|
||||||
|
|
||||||
[group("utils")]
|
[group("utils")]
|
||||||
machine:
|
machine:
|
||||||
@@ -9,6 +9,7 @@ machine:
|
|||||||
[group("utils")]
|
[group("utils")]
|
||||||
clean-code:
|
clean-code:
|
||||||
sudo nix run nixpkgs#deadnix -- -eq
|
sudo nix run nixpkgs#deadnix -- -eq
|
||||||
|
sudo nix run nixpkgs#nixfmt -- **/**.nix
|
||||||
|
|
||||||
[group("maintenance")]
|
[group("maintenance")]
|
||||||
switch args="":
|
switch args="":
|
||||||
|
|||||||
Reference in New Issue
Block a user