mirror of
https://github.com/dlang/dmd.git
synced 2025-04-25 20:50:41 +03:00
Reduce long lines in the Dub file
This commit is contained in:
parent
65bd76713c
commit
ca4f0d78af
1 changed files with 41 additions and 8 deletions
49
dub.sdl
49
dub.sdl
|
@ -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="*"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue