···123123124124 devShells.default = pkgs.mkShell {
125125 name = "cmprss";
126126- inherit (self.checks.${system}.pre-commit-check) shellHook;
126126+ # inherit (self.checks.${system}.pre-commit-check) shellHook;
127127+ shellHook = ''
128128+ ${self.checks.${system}.pre-commit-check.shellHook}
129129+ echo ---------------------
130130+ just list
131131+ echo ---------------------
132132+ '';
127133128134 # Include the packages from the defined checks and packages
129135 inputsFrom =
···133139 # Extra inputs can be added here
134140 nativeBuildInputs = with pkgs; [
135141 act # For running Github Actions locally
136136- statix
142142+ alejandra
137143 deadnix
144144+ just
138145 nodePackages.prettier
139139- alejandra
146146+ statix
140147141148 # Code coverage
142149 cargo-tarpaulin
+18
justfile
···11+# list available commands
22+@list:
33+ just --list
44+55+# run CI locally
66+@ci:
77+ act
88+99+# run all checks
1010+check:
1111+ just fmt
1212+ pre-commit run --all-files --show-diff-on-failure
1313+ nix flake check
1414+1515+# format everything
1616+@fmt:
1717+ just --fmt --unstable
1818+ cargo fmt --all