From 8afb45396a538fc24da3ac8863b9c1aba9775330 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Sat, 4 Nov 2017 14:46:13 -0400 Subject: [PATCH] new file for minimizing disk impact we don't always want all the generated junk, which weighs in at like ~430 megs these days. this script winnows out the things most people will not need, once they've generated the binaries with the production process. --- scripts/generator/minimize_feisty_meow.sh | 26 +++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 scripts/generator/minimize_feisty_meow.sh diff --git a/scripts/generator/minimize_feisty_meow.sh b/scripts/generator/minimize_feisty_meow.sh new file mode 100644 index 00000000..93e5acae --- /dev/null +++ b/scripts/generator/minimize_feisty_meow.sh @@ -0,0 +1,26 @@ +#!/bin/bash + +# cleans up the generated files that most people don't use. +# this includes some static libraries and all of the tests, as well as +# the install bundles. + +echo "Cleaning up feisty meow generated files..." + +pushd $GENERATED_STORE + +\rm -rf logs clam_tmp temporaries/* + +pushd runtime + +\rm -rf install/* + +pushd binaries + +\rm -rf *.a *.library test_* + +popd +popd +popd + +echo "Finished with feisty meow generated file cleaning." + -- 2.34.1