Reduce long lines in the Dub file

This commit is contained in:
Jacob Carlborg 2019-01-19 12:51:05 +01:00
parent 65bd76713c
commit ca4f0d78af

49
dub.sdl
View file

@ -30,8 +30,23 @@ subPackage {
"src/dmd/tokens.d" \
"src/dmd/utf.d"
preGenerateCommands `"$${DUB_EXE}" --arch=$${DUB_ARCH} --single "$${DUB_PACKAGE_DIR}config.d" -- "$${DUB_PACKAGE_DIR}generated/dub" "$${DUB_PACKAGE_DIR}VERSION" /etc` platform="posix"
preGenerateCommands `"%DUB_EXE%" --arch=%DUB_ARCH% --single "%DUB_PACKAGE_DIR%config.d" "%DUB_PACKAGE_DIR%generated/dub" "%DUB_PACKAGE_DIR%VERSION"` platform="windows"
preGenerateCommands `
"$${DUB_EXE}" \
--arch=$${DUB_ARCH} \
--single "$${DUB_PACKAGE_DIR}config.d" \
-- "$${DUB_PACKAGE_DIR}generated/dub" \
"$${DUB_PACKAGE_DIR}VERSION" \
/etc
` platform="posix"
preGenerateCommands `
"%DUB_EXE%" ^
--arch=%DUB_ARCH% ^
--single "%DUB_PACKAGE_DIR%config.d" ^
-- "%DUB_PACKAGE_DIR%generated/dub" ^
"%DUB_PACKAGE_DIR%VERSION"
` platform="windows"
stringImportPaths "generated/dub"
dependency "dmd:root" version="*"
@ -55,14 +70,32 @@ subPackage {
subPackage {
name "frontend"
targetType "library"
stringImportPaths "res"
versions "NoBackend"
versions "GC"
versions "NoMain"
versions "MARS"
sourcePaths "src/dmd"
stringImportPaths "res"
versions \
"NoBackend" \
"GC" \
"NoMain" \
"MARS"
excludedSourceFiles "src/dmd/backend/*"
excludedSourceFiles "src/dmd/{dmsc,e2ir,eh,glue,iasm,iasmdmd,iasmgcc,objc_glue,s2ir,tocsym,toctype,toobj,todt,toir}.d"
excludedSourceFiles "src/dmd/{\
dmsc,\
e2ir,\
eh,\
glue,\
iasm,\
iasmdmd,\
iasmgcc,\
objc_glue,\
s2ir,\
tocsym,\
toctype,\
toobj,\
todt,\
toir\
}.d"
dependency "dmd:parser" version="*"
}