std.make.common

*internal-shell*

dynamic

*tmux*

dynamic

*triggers*

dynamic

get-config-tag

added in 4.0

(get-config-tag mcfg)

gets the tag for a config

get-triggered

added in 4.0

(get-triggered)(get-triggered ns)

gets all configs given a trigger namespace

(mapv (fn mcfg (:tag @(:instance mcfg))) (common/with:triggers +triggers+ (common/get-triggered ’hello))) => “test.demo-make”

make-config

added in 4.0

(make-config new-config)

function to create a make config

make-config-map

added in 4.0

(make-config-map {:keys [ns build root params orgfile github default sections triggers], :as m})

creates a make-config map

make-config-update

added in 4.0

(make-config-update {:keys [instance], :as mcfg} new-config)

updates the make-config

make-config?

added in 4.0

(make-config? obj)

checks that object is a make config

make-dir

added in 4.0

(make-dir {:keys [instance], :as mcfg})

gets the dir specified by the config

(common/make-dir +demo-config+) => string?

make-dir-exists?

added in 4.0

(make-dir-exists? mcfg)

checks that the make directory exists

make-dir-setup

added in 4.0

(make-dir-setup mcfg)

sets up the make directory

make-dir-teardown

added in 4.0

(make-dir-teardown mcfg)

deletes the the make directory

make-run

added in 4.0

(make-run {:keys [instance], :as mcfg} & [command])

runs the make executable

make-run-close

added in 4.0

(make-run-close {:keys [instance], :as mcfg} & [command])

TODO

make-run-dev

(make-run-dev mcfg)

make-run-init

(make-run-init mcfg)

make-run-internal

added in 4.0

(make-run-internal mcfg & commands)

runs the make executable internal

make-run-package

(make-run-package mcfg)

make-run-release

(make-run-release mcfg)

make-run-start

(make-run-start mcfg)

make-run-stop

(make-run-stop mcfg)

make-run-test

(make-run-test mcfg)

make-shell

added in 4.0

(make-shell mcfg)

opens a terminal at the location of the make directory

triggers-clear

added in 4.0

(triggers-clear mcfg)

clears a trigger

triggers-get

added in 4.0

(triggers-get mcfg)

gets a trigger

triggers-list

added in 4.0

(triggers-list)

lists all trigers

triggers-purge

added in 4.0

(triggers-purge)

purges triggers

triggers-set

added in 4.0

(triggers-set mcfg triggers)

sets a trigger

with:internal-shell

macro

added in 4.0

(with:internal-shell & body)

with internal shell

with:triggers

macro

added in 4.0

(with:triggers [triggers] & body)

purges triggers