On 2019-03-31 13:39, Mihails wrote:
Glad to announce first version of https://github.com/mihails-strasuns/dc
suitable for public destruction.
As for the destruction:
* Saying it's cross-platform and only supporting two platforms is
stretching it a bit.
* Using the "tar" [1] command line tool is cheating :). It might not be
available inside a Docker container, for example.
* Regarding `currentProcessBinary` [2]. Phobos has a function for that,
which is cross-platform [3].
[1]
https://github.com/mihails-strasuns/dc/blob/f314916b04879604e3f8629534a3cf2b1bd4d92c/source/dc/platform/posix.d#L78-L81
[2]
https://github.com/mihails-strasuns/dc/blob/f314916b04879604e3f8629534a3cf2b1bd4d92c/source/dc/utils/path.d#L46
[3] https://dlang.org/phobos/std_file.html#.thisExePath
--
/Jacob Carlborg