diff --git a/README.md b/README.md new file mode 100644 index 0000000..931eb8c --- /dev/null +++ b/README.md @@ -0,0 +1,17 @@ +# Command Line Execution plug-in for [Kobalt](http://beust.com/kobalt/home/index.html) + +[![License (3-Clause BSD)](https://img.shields.io/badge/license-BSD%203--Clause-blue.svg?style=flat-square)](http://opensource.org/licenses/BSD-3-Clause) [![Build Status](https://travis-ci.org/ethauvin/kobalt-exec.svg?branch=master)](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 +``` \ No newline at end of file diff --git a/example/kobalt/src/Build.kt b/example/kobalt/src/Build.kt index f7860cc..c93d1a5 100644 --- a/example/kobalt/src/Build.kt +++ b/example/kobalt/src/Build.kt @@ -50,5 +50,6 @@ val example2 = project { exec { commandLine(listOf("cmd", "/c", "echo", "Test Example 2"), os = setOf("Win")) + commandLine(listOf("echo", "Hello, World!")) } } \ No newline at end of file diff --git a/kobalt-exec.iml b/kobalt-exec.iml index 55807a7..05598d7 100644 --- a/kobalt-exec.iml +++ b/kobalt-exec.iml @@ -25,18 +25,9 @@ - + - - - - - - - - - - + @@ -52,9 +43,18 @@ - + - + + + + + + + + + + diff --git a/kobalt/src/Build.kt b/kobalt/src/Build.kt index 1047320..ced64ec 100644 --- a/kobalt/src/Build.kt +++ b/kobalt/src/Build.kt @@ -20,7 +20,7 @@ val p = project { version = "0.5.1-beta" 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" licenses = listOf(License().apply { name = "BSD 3-Clause"