Merge remote-tracking branch 'upstream/master' into stable
commit 7811da9ad180fdc45342357fe29fc3342eb6cb7e
2 parents 0e8b10a + a5d3e74
@Iain Buclaw Iain Buclaw authored on 15 Jul 2023
Showing 19 changed files
View
7
changelog/d_versions_flag.dd 0 → 100644
Exposed `--d-versions` CLI flag
 
You can now specify `--d-versions=Xyz` to basically insert `version = Xyz;` into
all D source files. This is the same as specifying `versions` in your dub.sdl /
dub.json file, but from the CLI and unrelated to any build types or
configurations.
View
1
■■■■
scripts/fish-completion/dub.fish
for cmd in run build test generate describe dustmite
complete -c dub -n "contains '$cmd' (commandline -poc)" -s c -l config -r -d "Build configuration"
complete -c dub -n "contains '$cmd' (commandline -poc)" -s a -l arch -r -d "Force architecture"
complete -c dub -n "contains '$cmd' (commandline -poc)" -s d -l debug -r -d "Debug identifier"
complete -c dub -n "contains '$cmd' (commandline -poc)" -s d -l d-version -r -d "Version identifier"
complete -c dub -n "contains '$cmd' (commandline -poc)" -l nodeps -d "No dependency check"
complete -c dub -n "contains '$cmd' (commandline -poc)" -s b -l build -u -x -d "Build type" -a "debug plain release release-debug release-nobounds unittest profile profile-gc docs ddox cov cov-ctfe unittest-cov unittest-cov-ctfe syntax"
complete -c dub -n "contains '$cmd' (commandline -poc)" -l build-mode -x -d "How compiler & linker are invoked" -a "separate allAtOnce singleFile"
complete -c dub -n "contains '$cmd' (commandline -poc)" -l compiler -x -d "Compiler binary" -a "dmd gdc ldc gdmd ldmd"
View
scripts/zsh-completion/_dub
View
source/dub/commandline.d
View
source/dub/compilers/buildsettings.d
View
source/dub/dub.d
View
source/dub/generators/build.d
View
source/dub/generators/generator.d
View
test/d-versions.sh 0 → 100755
View
test/d-versions/.gitignore 0 → 100644
View
test/d-versions/.no_build 0 → 100644
View
test/d-versions/.no_run 0 → 100644
View
test/d-versions/.no_test 0 → 100644
View
test/d-versions/dub.sdl 0 → 100644
View
test/d-versions/source/app.d 0 → 100644
View
test/pr2642-cache-db/.gitignore 0 → 100644
View
test/pr2642-cache-db/.no_test 0 → 100644
View
test/pr2642-cache-db/dub.sdl 0 → 100644
View
test/pr2642-cache-db/source/test_cache_db.d 0 → 100644