diff --git a/.travis.yml b/.travis.yml index 04d3ba9..f28473c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,14 +3,15 @@ matrix: include: - - d: dmd-2.064.2 - - d: dmd-2.065.0 - - d: dmd-2.066.1 + - d: dmd-2.068.0-b1 + - d: dmd-2.067.1 env: - COVERAGE=true - - d: dmd-2.067.0 - - d: ldc-0.14.0 + - d: dmd-2.066.1 + - d: dmd-2.064.2 + - d: dmd-2.065.0 - d: ldc-0.15.1 + - d: ldc-0.14.0 - d: gdc-4.9.0 script: diff --git a/source/dub/project.d b/source/dub/project.d index bc448ba..176a8f0 100644 --- a/source/dub/project.d +++ b/source/dub/project.d @@ -792,8 +792,8 @@ attributeName == "options"; auto values = getRawBuildSetting(pack, allowEmptyString); - auto fixRelativePath = (string importPath) => buildNormalizedPath(pack.path.toString(), importPath); - auto ensureTrailingSlash = (string path) => path.endsWith(dirSeparator) ? path : path ~ dirSeparator; + string fixRelativePath(string importPath) { return buildNormalizedPath(pack.path.toString(), importPath); } + static string ensureTrailingSlash(string path) { return path.endsWith(dirSeparator) ? path : path ~ dirSeparator; } static if(isRelativeDirectory) { // Return full paths for the paths, making sure a