Skip to content

Pacman

class Pacman

Integrates Pacman into your build.

This plugin adds the pacman extension to scripts:

val deploy by job {
    image("archlinux:latest")

    script {
        pacman.sync("git")
        shell("git describe")
    }
}

Types

Companion

object Companion

Functions

sync

fun sync(vararg pkg: String)

Executes pacman -Syuu pkg.