Search code examples
clojureleiningen

How can I execute multiple lein tasks in one command?


I'm new to leiningen.

When I tried to execute following,

$ lein clean jar

I got

Wrong number of arguments to clean task. 
Expected []
$ 

How can I execute multiple tasks in one command?


Solution

  • Yes, it is possible to execute multiple leiningen tasks in sequence with one command.

    Example:

    lein do clean, test