std.make.compile

*compile-filter*

dynamic

*mock-compile*

dynamic

+types+

compile

added in 4.0

(compile {:keys [instance], :as cfg} & directives)

creates files based on entries

compile-custom

added in 4.0

(compile-custom {:keys [header footer root fn], :as opts})

creates a custom

compile-directive

added in 4.0

(compile-directive m sections directive)

compiles directive

compile-directory

added in 4.0

(compile-directory {:keys [main root], :as opts})

TODO

compile-ext

added in 4.0

(compile-ext {:keys [header footer main format root target name file wrapper], :as sopts, :or {wrapper (fn [f sopts] f)}})

compiles project files of different extensions

compile-ext-fn

multimethod

added in 4.0

creates various formats

compile-fullbody

added in 4.0

(compile-fullbody body {:keys [header footer]})

helper function for compile methods

compile-out-path

added in 4.0

(compile-out-path {:keys [root file target output]})

creates the output path for file

compile-resolve

added in 4.0

(compile-resolve x)

resolves a symbol or pointer

compile-resource

added in 4.0

(compile-resource {:keys [main root], :as opts})

copies resources to the build directory

compile-result-seq

added in 4.1

(compile-result-seq results)

normalizes nested compile results into a flat sequence

compile-section

added in 4.0

(compile-section {:keys [root build params hooks], :as m} key section)

compiles section

compile-single

added in 4.0

(compile-single out-dir params {:keys [type format hook], :as sopts})

compiles a single file

compile-summarise

added in 4.0

(compile-summarise files)

summaries the output

compile-write

added in 4.0

(compile-write file body)

writes body to the output path

compile-write-artifacts

added in 4.1

(compile-write-artifacts artifacts)

writes multiple artifact descriptors

types-add

added in 4.0

(types-add k f)

adds a compilation type

types-list

added in 4.0

(types-list)

lists all compilation types

types-remove

added in 4.0

(types-remove k f)

removes a compilation type

with:compile-filter

macro

added in 4.0

(with:compile-filter filter & body)

sets the compile filter

with:mock-compile

macro

added in 4.0

(with:mock-compile & body)

sets the mock output flag