summaryrefslogtreecommitdiff
path: root/src/intellij-14/diff.sh
diff options
context:
space:
mode:
authorLukas Rytz <lukas.rytz@gmail.com>2014-11-03 17:03:38 +0100
committerLukas Rytz <lukas.rytz@gmail.com>2014-11-03 17:06:53 +0100
commit479ae8c9df42d5bdeb7b804f8aeb6989201467a8 (patch)
tree7ba93a9fc1deaabb6418195daea6a56454cdcd59 /src/intellij-14/diff.sh
parentd1a76d5af7faa12ebebea0923812af26c40eebc9 (diff)
downloadscala-479ae8c9df42d5bdeb7b804f8aeb6989201467a8.tar.gz
scala-479ae8c9df42d5bdeb7b804f8aeb6989201467a8.tar.bz2
scala-479ae8c9df42d5bdeb7b804f8aeb6989201467a8.zip
IntelliJ IDEA files for version 14
The latest version of the Scala plugin for IntelliJ IDEA introduces a new project structure http://blog.jetbrains.com/scala/2014/10/30/scala-plugin-update-for-intellij-idea-14-rc-is-out/ Due to a bug (https://youtrack.jetbrains.com/issue/SCL-7753), you currently need to install the latest nightly build from here: http://confluence.jetbrains.com/display/SCA/Scala+Plugin+Nightly+Builds+for+Cassiopeia The new format doesn't allow scala compiler options per-module, so the `-sourcepath src/libarary` is used for all modules.
Diffstat (limited to 'src/intellij-14/diff.sh')
-rwxr-xr-xsrc/intellij-14/diff.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/intellij-14/diff.sh b/src/intellij-14/diff.sh
new file mode 100755
index 0000000000..54f9248608
--- /dev/null
+++ b/src/intellij-14/diff.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+#
+# Diffs the SAMPLE files against the working project config.
+#
+export SCRIPT_DIR="$( cd "$( dirname "$0" )" && pwd )"
+for f in "$SCRIPT_DIR"/*.{iml,ipr}; do
+ echo $f; diff -u $f.SAMPLE $f;
+done