diff --git a/plug-ins/index.html b/plug-ins/index.html index a773c9b..e023db1 100644 --- a/plug-ins/index.html +++ b/plug-ins/index.html @@ -490,11 +490,10 @@ assemble {
- The install
section lets you specify how the artifacts get installed. There are two mutually exclusive
- ways to use install
.
+ The install
section lets you specify how the artifacts get installed. There are two ways to use install
.
The simplest way to install is either not specify anything in the install
directive or an optional
@@ -511,7 +510,7 @@ The simplest way to install is either not specify anything in the install<
target directory.
You can also be more selective in what you install with either the
+ You can specify multiple copy
directive to copy
individual files or with include
, which lets you specify more sophisticated ways of moving
@@ -523,6 +522,24 @@ The simplest way to install is either not specify anything in the install<
include(from("kobaltBuild/libs"), to("deploy"), glob("**/*"))
}
+
Multiple install targets
+
+install
directives by specifying different task names for
+ each of them:
+
+ install {
+ taskName = "installSingle"
+ target = "libs"
+ }
+
+ install {
+ taskName = "installMulti"
+ copy(from("README"), to("deploy"))
+ include(from("kobaltBuild/libs"), to("deploy"), glob("**/*"))
+ }
+
Note