Created
January 6, 2012 12:41
-
-
Save peo3/1570442 to your computer and use it in GitHub Desktop.
Scala SBT IntelliJ IDEA ScalaTest設定でやったこと
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- brew install scala sbt | |
- mkdir -p scala/Hoge | |
- cd scala/Hoge | |
- sbt | |
- vim build.sbt | |
- cat build.sbt | |
name := "Hoge" | |
version := "0.1" | |
scalaVersion := "2.9.0-1" | |
libraryDependencies += "org.scalatest" % "scalatest_2.9.0" % "1.6.1" | |
- 空行が重要という。。。 | |
- sbt reload | |
- mkdir -p src/main/scala | |
- mkdir -p src/test/scala | |
- IntelliJ IDEAセットアップ | |
- 設定(preferences) | |
- Plugins: scalaとsbtのplugin install | |
- SBT: IDE path: /usr/local/Cellar/sbt/0.10.1/libexec/sbt-launch.jar | |
- Editor: Allow placement of caret after end of lineのチェックオフ | |
- Keymap: →Emacs, Backspaceを^Hに | |
- あとカットコピーペースト | |
- 設定(File > Project Structure) | |
- Project: SDK 1.6 | |
- /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment