premake/premake-core

os.mkdir does not expand ~ to $HOME

開放

#378 建立於 2015年12月19日

 (1 則留言) (0 個反應) (0 位負責人)C (651 個分叉)auto 404
enhancementhelp wanted

倉庫指標

星標
 (3,621 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

I've just came across this behaviour and not sure if we'd like to do something about it.

Basically if you pass a path containing a tilde to some of the OS directory functions they will not expand it to the user's home directory, which I was expecting to work since it seems to be supported in other places in Premake.

Should we fix it or just document these limitations of the API on the wiki?

貢獻者指南