34

I am new to clojure, when I use

lein new app

I saw this line

:main ^:skip-aot my-stuff.core

What does ^:skip-aot mean?

In which section of clojure document could I find the description?

Brad Koch
  • 19,267
  • 19
  • 110
  • 137
sleetdrop
  • 465
  • 5
  • 10

1 Answers1

10

It is Leiningen configuration. Have a look at : Sample project.clj.

If you are creating a Pedestal application, then that is why they want to skip AOT:

Why does pedestal skip AOT? and in Heroku context: Reason for skipping AOT?

Community
  • 1
  • 1
Chiron
  • 20,081
  • 17
  • 81
  • 133
  • 26
    Just adding to this answer: In case it wasn't clear, AOT = ahead-of-time compilation (vs JIT, just-in-time compilation). You can read more about how AOT vs JIT impacts clojure specifically in the official docs here: http://clojure.org/compilation – waffle paradox Dec 17 '13 at 15:11
  • 3
    Another clarification, sleetdrop: Leiningen isn't really part of Clojure; it's a tool that enhances Clojure. That's why the documentation is separate. – Mars Dec 31 '13 at 04:56
  • 24
    "It is Leiningen configuration." explains nothing. – Jackson Jul 05 '15 at 21:24