ono*_*nof 8 version-control scala sbt
我用SBT创建了一个Scala项目,引用了ScalaTest.现在它有了这棵树:
????lib
????lib_managed
? ????scala_2.9.0
? ????compile
????project
? ????boot
? ? ????other
? ? ? ????net.java.dev.jna
? ? ? ????jna
? ? ? ????3.2.3
? ? ????scala-2.7.7
? ? ? ????lib
? ? ? ????org.scala-tools.sbt
? ? ? ????sbt
? ? ? ????0.7.7
? ? ? ????compiler-interface-bin_2.7.7.final
? ? ? ????compiler-interface-bin_2.8.0.final
? ? ? ????compiler-interface-bin_2.8.1.final
? ? ? ????compiler-interface-bin_2.9.0.final
? ? ? ????compiler-interface-src
? ? ? ????xsbti
? ? ????scala-2.9.0
? ? ????lib
? ????build
? ????target
? ????scala_2.7.7
? ????analysis
? ????classes
????src
? ????main
? ? ????resources
? ? ????scala
? ????test
? ????resources
? ????scala
????target
Run Code Online (Sandbox Code Playgroud)
除了src树,我应该在版本控制下使用哪些文件/目录(现在使用SVN)?
对于sbt 0.7,请忽略以下内容:
lib_managed
target
project/boot
project/build/target
project/plugins/lib_managed
project/plugins/src_managed
project/plugins/target
project/plugins/project/build.properties
Run Code Online (Sandbox Code Playgroud)
现在有了0.10.x stt.
对于xsbt 0.10+,这是我的.gitignore,在我的xsbt模板项目中:
target/
project/boot/
*.jar
Run Code Online (Sandbox Code Playgroud)
它类似于xsbt项目中的官方.gitignore,但Eugene可能更完整.
| 归档时间: |
|
| 查看次数: |
830 次 |
| 最近记录: |