Skip to content

Commit

Permalink
Add --clear-cache option to builder
Browse files Browse the repository at this point in the history
  • Loading branch information
jamcleod committed Aug 7, 2024
1 parent be4d119 commit a02a9dc
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,22 @@ while [[ $# -gt 0 ]]; do
help
exit
;;
--clear-cache)
docker run --rm -v $PWD/cache:/tmp/build -v $PWD:/app pandare/kernel_builder /bin/bash -c "rm -r /tmp/build/*"
exit
;;
--config-only)
CONFIG_ONLY=true
shift # past argument
shift # past flag
;;
--versions)
VERSIONS="$2"
shift # past argument
shift # past flag
shift # past value
;;
--targets)
TARGETS="$2"
shift # past argument
shift # past flag
shift # past value
;;
*)
Expand Down

0 comments on commit a02a9dc

Please sign in to comment.