mirror of https://github.com/sbt/sbt.git
Merge pull request #1154 from sbt/wip/merge-0.13.1-to-0.13
Merge doc fixes from 0.13.1 into 0.13 branch.
This commit is contained in:
commit
ea878eeaf9
|
|
@ -86,6 +86,25 @@ One jar plugins
|
||||||
- sbt-onejar (Packages your project using One-JAR™):
|
- sbt-onejar (Packages your project using One-JAR™):
|
||||||
https://github.com/sbt/sbt-onejar
|
https://github.com/sbt/sbt-onejar
|
||||||
|
|
||||||
|
Frontend development plugins
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
- coffeescripted-sbt: https://github.com/softprops/coffeescripted-sbt
|
||||||
|
- less-sbt (for less-1.3.0): https://github.com/softprops/less-sbt
|
||||||
|
- sbt-less-plugin (it uses less-1.3.0):
|
||||||
|
https://github.com/btd/sbt-less-plugin
|
||||||
|
- sbt-emberjs: https://github.com/stefri/sbt-emberjs
|
||||||
|
- sbt-closure: https://github.com/eltimn/sbt-closure
|
||||||
|
- sbt-yui-compressor: https://github.com/indrajitr/sbt-yui-compressor
|
||||||
|
- sbt-requirejs: https://github.com/scalatra/sbt-requirejs
|
||||||
|
- sbt-vaadin-plugin: https://github.com/henrikerola/sbt-vaadin-plugin
|
||||||
|
|
||||||
|
Game development plugins
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
- sbt-lwjgl-plugin (Light Weight Java Game Library): https://github.com/philcali/sbt-lwjgl-plugin
|
||||||
|
- sbt-scage-plugin (Scala Game Engine): https://github.com/mvallerie/sbt-scage-plugin
|
||||||
|
|
||||||
Release plugins
|
Release plugins
|
||||||
~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
|
@ -114,24 +133,6 @@ Release plugins
|
||||||
- xitrum-package (collects dependency .jar files for standalone Scala programs):
|
- xitrum-package (collects dependency .jar files for standalone Scala programs):
|
||||||
https://github.com/ngocdaothanh/xitrum-package
|
https://github.com/ngocdaothanh/xitrum-package
|
||||||
|
|
||||||
Frontend development plugins
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
- coffeescripted-sbt: https://github.com/softprops/coffeescripted-sbt
|
|
||||||
- less-sbt (for less-1.3.0): https://github.com/softprops/less-sbt
|
|
||||||
- sbt-less-plugin (it uses less-1.3.0):
|
|
||||||
https://github.com/btd/sbt-less-plugin
|
|
||||||
- sbt-emberjs: https://github.com/stefri/sbt-emberjs
|
|
||||||
- sbt-closure: https://github.com/eltimn/sbt-closure
|
|
||||||
- sbt-yui-compressor: https://github.com/indrajitr/sbt-yui-compressor
|
|
||||||
- sbt-requirejs: https://github.com/scalatra/sbt-requirejs
|
|
||||||
- sbt-vaadin-plugin: https://github.com/henrikerola/sbt-vaadin-plugin
|
|
||||||
|
|
||||||
Game development plugins
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
- sbt-lwjgl-plugin (Light Weight Java Game Library): https://github.com/philcali/sbt-lwjgl-plugin
|
|
||||||
- sbt-scage-plugin (Scala Game Engine): https://github.com/mvallerie/sbt-scage-plugin
|
|
||||||
|
|
||||||
System plugins
|
System plugins
|
||||||
~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~
|
||||||
|
|
@ -253,7 +254,7 @@ Utility plugins
|
||||||
Code coverage plugins
|
Code coverage plugins
|
||||||
~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
- sbt-scct: https://github.com/sqality/sbt-scct
|
- sbt-scct: https://github.com/dvc94ch/sbt-scct
|
||||||
- sbt-scoverage: https://github.com/scoverage/sbt-scoverage
|
- sbt-scoverage: https://github.com/scoverage/sbt-scoverage
|
||||||
- jacoco4sbt: https://github.com/sbt/jacoco4sbt
|
- jacoco4sbt: https://github.com/sbt/jacoco4sbt
|
||||||
- xsbt-coveralls-plugin: https://github.com/theon/xsbt-coveralls-plugin
|
- xsbt-coveralls-plugin: https://github.com/theon/xsbt-coveralls-plugin
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,8 @@ Before reading anything in here, you will need the information in the
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:maxdepth: 2
|
:maxdepth: 2
|
||||||
|
|
||||||
|
|
||||||
|
Launcher
|
||||||
Scripts
|
Scripts
|
||||||
TaskInputs
|
TaskInputs
|
||||||
Understanding-incremental-recompilation
|
Understanding-incremental-recompilation
|
||||||
|
|
|
||||||
|
|
@ -2,4 +2,4 @@
|
||||||
Sbt Launcher
|
Sbt Launcher
|
||||||
============
|
============
|
||||||
|
|
||||||
This docuemntation has been moved to :doc:`The Launcher section </Launcher/index>`.
|
This documentation has been moved to :doc:`The Launcher section </Launcher/index>`.
|
||||||
|
|
@ -29,7 +29,7 @@ As a specific example, the following generates a hello world source file:
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
sourceGenerators in Compile += Def.task {
|
sourceGenerators in Compile <+= Def.task {
|
||||||
val file = (sourceManaged in Compile).value / "demo" / "Test.scala"
|
val file = (sourceManaged in Compile).value / "demo" / "Test.scala"
|
||||||
IO.write(file, """object Test extends App { println("Hi") }""")
|
IO.write(file, """object Test extends App { println("Hi") }""")
|
||||||
Seq(file)
|
Seq(file)
|
||||||
|
|
@ -44,7 +44,7 @@ By default, generated sources are not included in the packaged source artifact.
|
||||||
:title: Generate resources
|
:title: Generate resources
|
||||||
:type: setting
|
:type: setting
|
||||||
|
|
||||||
resourceGenerators in Compile += <task of type Seq[File]>
|
resourceGenerators in Compile += <task of type Seq[File]>.taskValue
|
||||||
|
|
||||||
A resource generation task should generate resources in a subdirectory of :key:`resourceManaged` and return a sequence of files generated. The key to add the task to is called :key:`resourceGenerators`. Because we want to add the unexecuted task, we use `taskValue` instead of the usual `value`. It should be scoped according to whether the generated files are main (`Compile`) or test (`Test`) resources. This basic structure looks like:
|
A resource generation task should generate resources in a subdirectory of :key:`resourceManaged` and return a sequence of files generated. The key to add the task to is called :key:`resourceGenerators`. Because we want to add the unexecuted task, we use `taskValue` instead of the usual `value`. It should be scoped according to whether the generated files are main (`Compile`) or test (`Test`) resources. This basic structure looks like:
|
||||||
|
|
||||||
|
|
@ -56,7 +56,7 @@ For example, assuming a method `def makeSomeResources(base: File): Seq[File]`,
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
resourceGenerators in Compile += Def.task {
|
resourceGenerators in Compile <+= Def.task {
|
||||||
makeSomeResources( (resourceManaged in Compile).value / "demo")
|
makeSomeResources( (resourceManaged in Compile).value / "demo")
|
||||||
}.taskValue
|
}.taskValue
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -115,7 +115,6 @@ public class ForkMain {
|
||||||
final ObjectOutputStream os = new ObjectOutputStream(socket.getOutputStream());
|
final ObjectOutputStream os = new ObjectOutputStream(socket.getOutputStream());
|
||||||
// Must flush the header that the constructor writes, otherwise the ObjectInputStream on the other end may block indefinitely
|
// Must flush the header that the constructor writes, otherwise the ObjectInputStream on the other end may block indefinitely
|
||||||
os.flush();
|
os.flush();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
new Run().run(is, os);
|
new Run().run(is, os);
|
||||||
} finally {
|
} finally {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue