diff --git a/dub.json b/dub.json deleted file mode 100644 index 947f389..0000000 --- a/dub.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "name": "dub", - "description": "Package manager for D packages", - "license": "MIT", - "copyright": "Copyright © 2012-2014 rejectedsoftware e.K., Copyright © 2012-2014 Matthias Dondorff", - "authors": [ - "Matthias Dondorff", - "Sönke Ludwig" - ], - "targetPath": "bin", - "configurations": [ - { - "name": "application", - "targetType": "executable", - "mainSourceFile": "source/app.d", - "libs": ["curl"], - "versions": ["DubUseCurl"] - }, - { - "name": "library", - "targetType": "library", - "excludedSourceFiles": ["source/app.d"], - "libs": ["curl"], - "copyFiles-windows": ["bin/libcurl.dll", "bin/libeay32.dll", "bin/ssleay32.dll"], - "versions": ["DubUseCurl"] - }, - { - "name": "library-nonet", - "targetType": "library", - "dependencies": { - "vibe-d": {"version": "~>0.7.28", "optional": true} - }, - "excludedSourceFiles": ["source/app.d"] - }, - { - "name": "dynamic-library-nonet", - "targetType": "dynamicLibrary", - "dependencies": { - "vibe-d": {"version": "~>0.7.19-rc.4", "optional": true} - }, - "excludedSourceFiles": ["source/app.d"] - } - ] -} diff --git a/dub.sdl b/dub.sdl new file mode 100644 index 0000000..76cadd4 --- /dev/null +++ b/dub.sdl @@ -0,0 +1,34 @@ +name "dub" +description "Package manager for D packages" +authors "Matthias Dondorff" "Sönke Ludwig" +copyright "Copyright © 2012-2016 rejectedsoftware e.K., Copyright © 2012-2014 Matthias Dondorff" +license "MIT" + +targetPath "bin" + +configuration "application" { + targetType "executable" + mainSourceFile "source/app.d" + libs "curl" + versions "DubUseCurl" +} + +configuration "library" { + targetType "library" + libs "curl" + excludedSourceFiles "source/app.d" + copyFiles "bin/libcurl.dll" "bin/libeay32.dll" "bin/ssleay32.dll" platform="windows" + versions "DubUseCurl" +} + +configuration "library-nonet" { + dependency "vibe-d" version="~>0.7.29" optional=true + targetType "library" + excludedSourceFiles "source/app.d" +} + +configuration "dynamic-library-nonet" { + dependency "vibe-d" version="~>0.7.29" optional=true + targetType "dynamicLibrary" + excludedSourceFiles "source/app.d" +}