Add additional directory to clean task in SBT build

前端 未结 4 741
粉色の甜心
粉色の甜心 2020-12-19 03:32

I have a SBT build where the tests create temporary files into a directory called temp. How can I tell SBT to delete this folder when I call the clean task?

4条回答
  •  南方客
    南方客 (楼主)
    2020-12-19 03:46

    The previously suggested solution is deprecated now. Bellow is the code which works for me.

    cleanFiles += new java.io.File(path)
    

提交回复
热议问题