Added circleci configuration.

This commit is contained in:
Erik C. Thauvin 2017-05-29 18:37:13 -07:00
parent dc99641c3e
commit 9d5b969dd9
4 changed files with 18 additions and 5 deletions

View file

@ -1,6 +1,6 @@
# 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) [![Download](https://api.bintray.com/packages/ethauvin/maven/kobalt-exec/images/download.svg)](https://bintray.com/ethauvin/maven/kobalt-exec/_latestVersion)
[![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) [![CircleCI](https://circleci.com/gh/ethauvin/kobalt-exec/tree/master.svg?style=shield)](https://circleci.com/gh/ethauvin/kobalt-exec/tree/master) [![Download](https://api.bintray.com/packages/ethauvin/maven/kobalt-exec/images/download.svg)](https://bintray.com/ethauvin/maven/kobalt-exec/_latestVersion)
The plug-in allows for the execution of system commands, similarly to the [Gradle Exec](https://docs.gradle.org/current/dsl/org.gradle.api.tasks.Exec.html) or [Ant Exec](https://ant.apache.org/manual/Tasks/exec.html) tasks.

11
circle.yml Normal file
View file

@ -0,0 +1,11 @@
machine:
java:
version: oraclejdk8
dependencies:
override:
- chmod +x kobaltw
test:
override:
- ./kobaltw assemble

View file

@ -9,7 +9,7 @@ import net.thauvin.erik.kobalt.plugin.exec.*
// ./kobaltw ps --log 2
val bs = buildScript {
//repos(file("K:/maven/repository"))
repos(localMaven())
plugins("net.thauvin.erik:kobalt-exec:")
}

View file

@ -1,5 +1,5 @@
import com.beust.kobalt.buildScript
import com.beust.kobalt.localMaven
import com.beust.kobalt.file
import com.beust.kobalt.plugin.packaging.assemble
import com.beust.kobalt.plugin.publish.autoGitTag
@ -13,7 +13,7 @@ import org.apache.maven.model.Model
import org.apache.maven.model.Scm
val bs = buildScript {
repos(file("K:/maven/repository"))
repos(localMaven())
plugins("net.thauvin.erik:kobalt-versioneye:", "net.thauvin.erik:kobalt-maven-local:")
}
@ -47,11 +47,13 @@ val p = project {
}
dependencies {
compileOnly("com.beust:$kobaltDependency:")
compile("com.beust:$kobaltDependency:")
compile("org.jetbrains.kotlin:kotlin-stdlib:1.1.2-4")
}
dependenciesTest {
compile("org.testng:testng:")
compile("org.jetbrains.kotlin:kotlin-test:1.1.2-4")
}
assemble {