premake/premake-core

os.mkdir does not expand ~ to $HOME

Offen

#378 geöffnet am 19.12.2015

 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)C (651 Forks)auto 404
enhancementhelp wanted

Repository-Metriken

Stars
 (3.621 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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?

Contributor Guide