From 45fa56eb76c24e3cd23fe42b9b8234ba8cfb7b12 Mon Sep 17 00:00:00 2001 From: "dima.avdeev" <99798741+dima-avdeev-jb@users.noreply.github.com> Date: Fri, 31 Mar 2023 11:14:43 +0300 Subject: [PATCH] clean compose/frameworks/support IDE files and temp files (#2949) --- compose/scripts/clean | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 compose/scripts/clean 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