How to alias a sequence of tasks?

前端 未结 3 523
梦谈多话
梦谈多话 2021-02-04 03:16

I have custom tasks in my SBT (0.12.2) project. Let\'s call them a, b and c. So when I\'m in the interactive mode of SBT I can just type <

3条回答
  •  攒了一身酷
    2021-02-04 03:43

    another way to achieve this is to define an alias in your .sbtrc file which will be in the root of your project directory.

    alias all=;a;b;c
    

    you have an additional option of defining these .sbtrc file in your home directory in which case this alias will be available to all your projects.

提交回复
热议问题