summaryrefslogtreecommitdiff
path: root/src/intellij/update.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/intellij/update.sh')
-rwxr-xr-xsrc/intellij/update.sh22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/intellij/update.sh b/src/intellij/update.sh
deleted file mode 100755
index eb6fea782f..0000000000
--- a/src/intellij/update.sh
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/usr/bin/env bash
-#
-# Updates the .SAMPLE files with the current project files.
-#
-
-set -e
-export SCRIPT_DIR="$( cd "$( dirname "$0" )" && pwd )"
-
-echo "About to create overwrite the .ipr.SAMPLE and .iml.SAMPLE files with the current project files. Press enter to continue or CTRL-C to cancel."
-read
-
-for f in "$SCRIPT_DIR"/*.{iml,ipr}; do
- cp $f $f.SAMPLE
-done
-
-for f in "$SCRIPT_DIR"/*.SAMPLE; do
- g=${f%.SAMPLE}
- if [[ ! -f $g ]]; then
- echo "Stale sample file, deleting $f"
- rm $f
- fi
-done