1
0
Fork 0
mirror of https://github.com/imjasonh/slight synced 2026-07-07 00:33:20 +00:00
slight/rebloat.sh
Jason Hall c05ad6808d debloating works, incl test-only deps
Signed-off-by: Jason Hall <jason@chainguard.dev>
2026-01-13 13:28:14 -05:00

11 lines
298 B
Bash
Executable file

#!/usr/bin/env bash
# Debloating with
#
# go run ./cmd/slight debloat ../ko
#
# fails during testing, but still deletes lots of things (sometimes too much!)
#
# In order to reset ko's vendor directory, we run this script to "rebloat" it so we can try again.
cd ../ko && go mod vendor && cd -