mirror of https://github.com/sbt/sbt.git
Docs: disable publishing for a project by overriding publishLocal to do nothing instead of deliver
This commit is contained in:
parent
df5e79e3be
commit
2a3af7fdca
|
|
@ -142,13 +142,13 @@ For example, the `main` Project definition above would now look like:
|
|||
|
||||
|
||||
You may wish to disable publishing the macro implementation.
|
||||
This is done by overriding `publish` and `deliver` to do nothing:
|
||||
This is done by overriding `publish` and `publishLocal` to do nothing:
|
||||
|
||||
::
|
||||
|
||||
lazy val macroSub = Project("macro", file("macro")) settings(
|
||||
publish := {},
|
||||
deliver := {}
|
||||
publishLocal := {}
|
||||
)
|
||||
|
||||
The techniques described here may also be used for the common interface described in the previous section.
|
||||
|
|
|
|||
Loading…
Reference in New Issue