dongtu4559 2019-08-16 13:29
浏览 77
已采纳

是否可以将Go TaskRunner配置为使用文件扩展名yaml?

Is there a posibility to configure Go Task runner (https://taskfile.dev/) to use files with file extension "yaml" instead of "yml"?

  • 写回答

1条回答 默认 最新

  • duandiao3961 2019-09-10 22:44
    关注

    Task author here.

    The only way to do it currently is by running:

    task --taskfile=Taskfile.yaml
    

    or

    task -t Taskfile.yaml
    

    That said, there's an open issue and a open PR about making .yaml extensions work automatically, so that will eventually work without the flag.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?