Newer
Older
dub_jkp / test / issue1136-temp-copy-files / app.d
@andre2007 andre2007 on 6 Nov 2018 286 bytes Fix temp copy files
/+ dub.sdl:

name "app"
dependency "mylib" path="./mylib"
+/

import std.exception: enforce;
import std.file: exists, thisExePath;
import std.path: dirName, buildPath;

void main()
{
    string filePath = buildPath(thisExePath.dirName, "helloworld.txt");
    enforce(filePath.exists);
}