Added README.md.
This commit is contained in:
parent
0063848981
commit
2f54f85294
4 changed files with 32 additions and 14 deletions
17
README.md
Normal file
17
README.md
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
# Command Line Execution plug-in for [Kobalt](http://beust.com/kobalt/home/index.html)
|
||||||
|
|
||||||
|
[](http://opensource.org/licenses/BSD-3-Clause) [](https://travis-ci.org/ethauvin/kobalt-exec)
|
||||||
|
|
||||||
|
```kotlin
|
||||||
|
var pl = plugins("net.thauvin.erik:kobalt-exc:")
|
||||||
|
|
||||||
|
var p = project {
|
||||||
|
exec {
|
||||||
|
commandLine(listOf("echo", "Hello, World!"))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
```sh
|
||||||
|
./kobaltw assemble exec
|
||||||
|
```
|
|
@ -50,5 +50,6 @@ val example2 = project {
|
||||||
|
|
||||||
exec {
|
exec {
|
||||||
commandLine(listOf("cmd", "/c", "echo", "Test Example 2"), os = setOf("Win"))
|
commandLine(listOf("cmd", "/c", "echo", "Test Example 2"), os = setOf("Win"))
|
||||||
|
commandLine(listOf("echo", "Hello, World!"))
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -25,18 +25,9 @@
|
||||||
</library>
|
</library>
|
||||||
</orderEntry>
|
</orderEntry>
|
||||||
<orderEntry type="module-library" scope="TEST">
|
<orderEntry type="module-library" scope="TEST">
|
||||||
<library name="Kobalt: org.apache.ant:ant:jar:1.7.0">
|
<library name="Kobalt: org.apache.ant:ant-launcher:jar:1.7.0">
|
||||||
<CLASSES>
|
<CLASSES>
|
||||||
<root url="jar://$USER_HOME$/.kobalt/repository/org/apache/ant/ant/1.7.0/ant-1.7.0.jar!/" />
|
<root url="jar://$USER_HOME$/.kobalt/repository/org/apache/ant/ant-launcher/1.7.0/ant-launcher-1.7.0.jar!/" />
|
||||||
</CLASSES>
|
|
||||||
<JAVADOC />
|
|
||||||
<SOURCES />
|
|
||||||
</library>
|
|
||||||
</orderEntry>
|
|
||||||
<orderEntry type="module-library" scope="TEST">
|
|
||||||
<library name="Kobalt: com.beust:jcommander:jar:1.48">
|
|
||||||
<CLASSES>
|
|
||||||
<root url="jar://$USER_HOME$/.kobalt/repository/com/beust/jcommander/1.48/jcommander-1.48.jar!/" />
|
|
||||||
</CLASSES>
|
</CLASSES>
|
||||||
<JAVADOC />
|
<JAVADOC />
|
||||||
<SOURCES />
|
<SOURCES />
|
||||||
|
@ -52,9 +43,18 @@
|
||||||
</library>
|
</library>
|
||||||
</orderEntry>
|
</orderEntry>
|
||||||
<orderEntry type="module-library" scope="TEST">
|
<orderEntry type="module-library" scope="TEST">
|
||||||
<library name="Kobalt: org.apache.ant:ant-launcher:jar:1.7.0">
|
<library name="Kobalt: com.beust:jcommander:jar:1.48">
|
||||||
<CLASSES>
|
<CLASSES>
|
||||||
<root url="jar://$USER_HOME$/.kobalt/repository/org/apache/ant/ant-launcher/1.7.0/ant-launcher-1.7.0.jar!/" />
|
<root url="jar://$USER_HOME$/.kobalt/repository/com/beust/jcommander/1.48/jcommander-1.48.jar!/" />
|
||||||
|
</CLASSES>
|
||||||
|
<JAVADOC />
|
||||||
|
<SOURCES />
|
||||||
|
</library>
|
||||||
|
</orderEntry>
|
||||||
|
<orderEntry type="module-library" scope="TEST">
|
||||||
|
<library name="Kobalt: org.apache.ant:ant:jar:1.7.0">
|
||||||
|
<CLASSES>
|
||||||
|
<root url="jar://$USER_HOME$/.kobalt/repository/org/apache/ant/ant/1.7.0/ant-1.7.0.jar!/" />
|
||||||
</CLASSES>
|
</CLASSES>
|
||||||
<JAVADOC />
|
<JAVADOC />
|
||||||
<SOURCES />
|
<SOURCES />
|
||||||
|
|
|
@ -20,7 +20,7 @@ val p = project {
|
||||||
version = "0.5.1-beta"
|
version = "0.5.1-beta"
|
||||||
|
|
||||||
pom = Model().apply {
|
pom = Model().apply {
|
||||||
description = "Command line execution plugin for the Kobalt build system."
|
description = "Command Line Execution plug-in for the Kobalt build system."
|
||||||
url = "https://github.com/ethauvin/kobalt-exec"
|
url = "https://github.com/ethauvin/kobalt-exec"
|
||||||
licenses = listOf(License().apply {
|
licenses = listOf(License().apply {
|
||||||
name = "BSD 3-Clause"
|
name = "BSD 3-Clause"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue