Skip to content

ensime-tmp/ensime-sbt-cmd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ENSIME-sbt-cmd

An sbt plugin that supports integration with the ENSIME server.

Versions

For use with ENSIME 0.9+

  • 0.1.3 for scala 2.10 and sbt 0.13
  • 0.1.1 for scala 2.9/2.10 and sbt 0.12

How to Install

Add the following to your ~/.sbt/plugins/plugins.sbt or YOUR_PROJECT/project/plugins.sbt:

addSbtPlugin("org.ensime" % "ensime-sbt-cmd" % "VERSION")

Adding the line above to YOUR_PROJECT/build.sbt won't activate the plugin, you must add it one level above, to either YOUR_PROJECT/project/plugins.sbt or YOUR_PROJECT/project/build.sbt.

How to Use

The above automatically adds the ensime generate command to your sbt build. This command will write a .ensime file to your project's root directory.

The ensime generate -s command causes sbt to download the source jars of your project's dependencies (as with update-classifiers) and include their paths in the .ensime file. This is only useful with a recent version of Ensime that can navigate to source jars.

Note: Currently, it may be necessary to first delete your project/target directories before running 'ensime generate'.

License

BSD License

About

An Sbt command for supporting integration with ENSIME.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Scala 100.0%