/sshkt

A port of capistrano/sshkit to Kotlin

Primary LanguageKotlin

sshkt

A port of sshkit to Kotlin.

Usage

SshKt() {
  on("1.example.com", "2.example.com") {
    within("/opt/sites/example.com") {
      asUser("deploy") {
        execute('node socket_server.js')
      }
    }
  }
}

Running the tests

cd sshkt
vagrant provision
vagrant up
cd .. && ./gradlew test