fix(dub): Make config.d executable to incremental compilation (#13712)

Fix issue 22821.

Signed-off-by: Luís Ferreira <contact@lsferreira.net>
This commit is contained in:
Luís Ferreira 2022-02-28 12:08:59 +00:00 committed by GitHub
parent 5cf0aed583
commit cf63dd8e5a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

3
config.d Normal file → Executable file
View file

@ -1,7 +1,8 @@
#!/usr/bin/env dub
/+
dub.sdl:
name "config"
targetPath "generated/dub"
targetPath "generated/dub-gen"
+/
/**
Generates the compiler version, the version printed with `dmd --version`.