A Leiningen plugin to generate Clojure source code from Application Description Language.
Find a file
2019-05-02 16:20:57 +01:00
docs Added those docs! 2019-05-02 16:20:57 +01:00
pkg Bumped versions of ADL files to current releases 2018-09-20 11:36:35 +01:00
src/leiningen #1: Provided sensible defaults for all configuration parameters. 2018-09-20 13:31:21 +01:00
.gitignore Initial commit 2018-07-20 15:54:57 +01:00
.hgignore Initial commit 2018-07-20 15:54:57 +01:00
CHANGELOG.md lein-release plugin: preparing 0.1.6 release 2018-09-20 13:35:20 +01:00
LICENSE Initial commit 2018-07-20 15:54:57 +01:00
LICENSE.md Initial commit 2018-07-20 15:54:57 +01:00
project.clj lein-release plugin: preparing 0.1.7 release 2019-05-02 16:16:32 +01:00
README.md Merge remote-tracking branch 'origin/master' 2018-07-21 19:10:22 +01:00

lein-adl

A Leiningen plugin to generate Clojure source code from Application Description Language.

Clojars Project

Usage

Put [lein-adl "0.1.2"] into the :plugins vector of your project.clj.

Example usage:

$ lein adl

or

$ lein adl [path-to-adl-file]

If a path to an adl file is provided, it takes precedence over the :adl-file configuration parameter, described below. The supplied value should be a file conforming to the ADL 1.4.1 DTD.

Configuration

You may add a key :adl to your project.clj whose value should be a map with some or all of the following keys:

  • :adl-file the filename of the ADL file to generate from (defaults to [project-name].adl.xml);
  • :locale the locale to generate files for (defaults to your default locale;
  • :path the path under which to generate files (defaults to the current directory, and you should probably not change this);
  • :verbosity if set to an integer greater than zero, will print additional information about what ADL is doing

License

Copyright © 2018 Simon Brooke

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.