pallet.local.execute documentation

Local execution of pallet actions

build-code

fn

[session action tmpfile]

Build the code with defaults for local execution.

clojure-on-origin

fn

[session {:keys [script-dir], :as action} f]

Execute a clojure function on the origin

local-checked-script

macro

[msg & body]

Run a script on the local machine, setting up stevedore to produce the correct target specific code. The return code is checked.

local-script

macro

[& body]

Run a script on the local machine, setting up stevedore to produce the correct target specific code

local-script-context

macro

[& body]

Run a script on the local machine, setting up stevedore to produce the correct target specific code

local-script-expand

fn

[expr]

Expand a script expression.

script-on-origin

fn

[session action action-type [options value]]

Execute a script action on the origin

verify-sh-return

fn

[msg cmd result]

Verify the return code of a sh execution