Skip to content

Commit

Permalink
add Just recipe for printing repo stats
Browse files Browse the repository at this point in the history
  • Loading branch information
franckrasolo committed Nov 25, 2024
1 parent 470b4d1 commit dfd2a38
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .justfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ _targets:
@update:
nix flake update --commit-lock-file --commit-lockfile-summary "update Nix flake inputs"

# prints repo statistics
@stats:
tokei

# runs all tests
@check:
cargo test --package slicers --lib pre_push::unit_tests
Expand Down
1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@

packages = with pkgs; [
just
tokei
];

shellHook = ''
Expand Down

0 comments on commit dfd2a38

Please sign in to comment.