diff options
author | Lukas Rytz <lukas.rytz@gmail.com> | 2014-11-03 17:03:38 +0100 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@gmail.com> | 2014-11-03 17:06:53 +0100 |
commit | 479ae8c9df42d5bdeb7b804f8aeb6989201467a8 (patch) | |
tree | 7ba93a9fc1deaabb6418195daea6a56454cdcd59 /src/intellij-14/setup.sh | |
parent | d1a76d5af7faa12ebebea0923812af26c40eebc9 (diff) | |
download | scala-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/setup.sh')
-rwxr-xr-x | src/intellij-14/setup.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/intellij-14/setup.sh b/src/intellij-14/setup.sh new file mode 100755 index 0000000000..ec303778ed --- /dev/null +++ b/src/intellij-14/setup.sh @@ -0,0 +1,14 @@ +#!/usr/bin/env bash +# +# Generates IntelliJ IDEA project files based on the checked-in samples. +# + +set -e +export SCRIPT_DIR="$( cd "$( dirname "$0" )" && pwd )" +echo "About to delete .ipr and .iml files and replace with the .SAMPLE files. Press enter to continue or CTRL-C to cancel." +read + +for f in "$SCRIPT_DIR"/*.SAMPLE; do + g=${f%.SAMPLE} + cp $f $g +done |