An open API service indexing awesome lists of open source software.

https://github.com/active-group/lein-aot-order

Leiningen plugin to manage ahead-of-time compilation order.
https://github.com/active-group/lein-aot-order

Last synced: about 1 year ago
JSON representation

Leiningen plugin to manage ahead-of-time compilation order.

Awesome Lists containing this project

README

          

# lein-aot-order

This leiningen plugin provides commands to work around problems of
clojure ahead-of-time compilation, by determining a suitable
compilation order via clojure.tools.namespace.

This requires Leiningen 2.6.1 or higher.

## Usage

Put [![Clojars Project](https://img.shields.io/clojars/v/lein-aot-order.svg)](https://clojars.org/lein-aot-order) into the `:plugins` vector of your project.clj.

Then you can start the following tasks:

```
lein aot-order
```

which just prints the determined order.

Or if you set ```:aot``` in your project to ```:order```:

```
:aot :order
```

it is automatically replaced by the determined order of your
namespaces. That order will then be used by the `jar` or `uberjar`
tasks, just as if you had specified it manually.

## License

Copyright © 2017 Active Group GmbH

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