diff --git a/compose/scripts/clean b/compose/scripts/clean new file mode 100755 index 0000000000..6398ab4be4 --- /dev/null +++ b/compose/scripts/clean @@ -0,0 +1,18 @@ +#!/bin/bash + +cd "$(dirname "$0")" + +pushd ../frameworks/support + +echo "--------------------------------------------------------" +echo "This command will remove those files added to .gitignore" +git clean -ndX +read -p "Do you want to remove this files? (y/n) " yn + +case $yn in + y ) git clean -fdX;; + n ) exit;; + * ) exit 1;; +esac + +popd \ No newline at end of file