Given a path, convert it into the appropriate module based on its extension.
Given a path, convert it into the appropriate module based on its extension.
(->template-factory path ops)
Return a new template factory that outputs to the given path.
Return a new template factory that outputs to the given path.
(execute model-paths path & args)
Execute an EOL file with the given XML models.
Execute an EOL file with the given XML models.
Triggered when a file change. Will dispatch according to what type of file just got changed.
Triggered when a file change. Will dispatch according to what type of file just got changed.
(generate egx-path model-paths output-path)
Generate an EGX file with the given XML models.
Generate an EGX file with the given XML models.
(generate-all {:keys [template-dir model-paths output-path watch?]})
(generate-all template-dir model-paths output-path)
(generate-all template-dir model-paths output-path watch?)
Go through the provided template directory and generate everything.
If watch? is true, return the watcher handler to be called to stop the watcher.
Go through the provided template directory and generate everything. If watch? is true, return the watcher handler to be called to stop the watcher.
(path->epsilon-files path types)
(path->epsilon-files path types recursive?)
Return all files that satisfy any of the given types within the given directory.
Accept eol?, egl?, egx? and evl? or any combinations. Ignore invalid functions.
Return all files that satisfy any of the given types within the given directory. Accept eol?, egl?, egx? and evl? or any combinations. Ignore invalid functions.
(path->xml path)
Load the model at the path and convert it to PlainXmlModel.
Load the model at the path and convert it to PlainXmlModel.
(validate evl-path model-paths)
Validate an EVL file with the given XML models.
Validate an EVL file with the given XML models.
(validate-all {:keys [template-dir model-paths watch?]})
(validate-all template-dir model-paths)
(validate-all template-dir model-paths watch?)
Go through the provided template directory and validate everything.
If watch? is true, return the watcher handler to be called to stop the watcher.
Go through the provided template directory and validate everything. If watch? is true, return the watcher handler to be called to stop the watcher.
(watch template-dir model-paths output-path)
(watch template-dir model-paths output-path preds)
Watch the given template directory and regenerate if file change is detected.
Takes a bunch of preds that will filter out which file type to listen to.
For example, (watch _ _ _ [egl?]) will listen for EGL files only. Can add more as see fit.
Watch the given template directory and regenerate if file change is detected. Takes a bunch of preds that will filter out which file type to listen to. For example, (watch _ _ _ [egl?]) will listen for EGL files only. Can add more as see fit.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close