如何在一个命令中执行多个lein任务? [英] How can I execute multiple lein tasks in one command?
本文介绍了如何在一个命令中执行多个lein任务?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我是莱宁根的新手.
当我尝试执行以下操作时,
When I tried to execute following,
$ lein clean jar
我知道了
Wrong number of arguments to clean task.
Expected []
$
如何在一个命令中执行多个任务?
How can I execute multiple tasks in one command?
推荐答案
是的,可以用一个命令依次执行多个 leiningen 任务.
Yes, it is possible to execute multiple leiningen tasks in sequence with one command.
示例:
lein do clean, test
这篇关于如何在一个命令中执行多个lein任务?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文