Skip to content

Commit

Permalink
task: add a recipe to gc submodules
Browse files Browse the repository at this point in the history
Today, this removed 90 MiB out of 190 MiB for .git/modules
  • Loading branch information
benknoble committed Nov 8, 2024
1 parent 780f678 commit d86780b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.zuo
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,9 @@
(symlink src #;<- dest)
(alert (~a dest " -> " src)))
(hash-keys the-links)))]
[:target gc-submodules ()
,(lambda (token)
(shell/wait "git submodule foreach" (string->shell "git gc --aggressive --prune=now")))]
[:target symlink-racket-paths ()
,(lambda (token)
(define paths
Expand Down

0 comments on commit d86780b

Please sign in to comment.