Permalink
Browse files

Added Eclipse plugin, instructions for eclipse and intellij

  • Loading branch information...
1 parent a588af1 commit 5b61142161a8f631ac55498e17f2f5e1c9329465 @fwielstra committed Jan 31, 2012
Showing with 23 additions and 1 deletion.
  1. +19 −1 README.md
  2. +4 −0 project/plugins/build.sbt
View
@@ -7,4 +7,22 @@ EPIC INSTRUCTIONS
$ ./sbt
> ~test-only org.functionalkoans.forscala.Koans
-Then do what it says.
+Then do what it says.
+
+GENERATING ECLIPSE PROJECT FILES
+================================
+
+Added the Eclipse plugin. Use the 'eclipse' command within SBT to generate Eclipse project files.
+Also install the [Scala IDE](http://scala-ide.org/) for Eclipse separately.
+
+ $ ./sbt
+ $ eclipse
+
+GENERATING INTELLIJ PROJECT FILES
+=================================
+
+I added the intellij plugin; use SBT to generate intellij project files
+and install the sbt plugin in intellij itself. Then open the project.
+
+ $ ./sbt
+ > gen-idea no-classifiers no-sbt-classifiers
@@ -1,3 +1,7 @@
resolvers += "sbt-idea-repo" at "http://mpeltonen.github.com/maven/"
libraryDependencies += "com.github.mpeltonen" %% "sbt-idea" % "0.10.0"
+
+libraryDependencies <<= (libraryDependencies, sbtVersion) { (deps, version) =>
+ deps :+ ("com.typesafe.sbteclipse" %% "sbteclipse" % "1.3-RC1" extra("sbtversion" -> version))
+}

0 comments on commit 5b61142

Please sign in to comment.