this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: add justfile for short scripts

+28 -3
+10 -3
flake.nix
··· 123 123 124 124 devShells.default = pkgs.mkShell { 125 125 name = "cmprss"; 126 - inherit (self.checks.${system}.pre-commit-check) shellHook; 126 + # inherit (self.checks.${system}.pre-commit-check) shellHook; 127 + shellHook = '' 128 + ${self.checks.${system}.pre-commit-check.shellHook} 129 + echo --------------------- 130 + just list 131 + echo --------------------- 132 + ''; 127 133 128 134 # Include the packages from the defined checks and packages 129 135 inputsFrom = ··· 133 139 # Extra inputs can be added here 134 140 nativeBuildInputs = with pkgs; [ 135 141 act # For running Github Actions locally 136 - statix 142 + alejandra 137 143 deadnix 144 + just 138 145 nodePackages.prettier 139 - alejandra 146 + statix 140 147 141 148 # Code coverage 142 149 cargo-tarpaulin
+18
justfile
··· 1 + # list available commands 2 + @list: 3 + just --list 4 + 5 + # run CI locally 6 + @ci: 7 + act 8 + 9 + # run all checks 10 + check: 11 + just fmt 12 + pre-commit run --all-files --show-diff-on-failure 13 + nix flake check 14 + 15 + # format everything 16 + @fmt: 17 + just --fmt --unstable 18 + cargo fmt --all