Skip to content

Commit

Permalink
Rename all .d files to .di
Browse files Browse the repository at this point in the history
This ensures that they're not compiled/linked, as they have no reason
to.
  • Loading branch information
CyberShadow committed Jun 8, 2022
1 parent 200c832 commit 55d9fe6
Show file tree
Hide file tree
Showing 80 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Generated version file
/source/deimos/openssl/version_.d
/source/deimos/openssl/version_.di

# DUB artifacts
/.dub/
Expand Down
8 changes: 4 additions & 4 deletions scripts/generate_version.d
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*
* It is called directly as a `preGenerateCommand` (see dub.sdl).
* To use it with another build system, pass the directory in which to write
* the `version_.d` file as first and only argument. The directory
* the `version_.di` file as first and only argument. The directory
* must exist, this script will not create it.
*/
module generate_version;
Expand Down Expand Up @@ -42,14 +42,14 @@ void main(string[] args)
{
assert(args[1].isDir(),
"OpenSSL version detection: Argument '" ~ args[1] ~ "' is not a directory");
target = args[1].buildPath("version_.d");
target = args[1].buildPath("version_.di");
}
else
{
assert(args.length == 1,
"OpenSSL version detection expects only one argument, " ~
"a directory path where to write `version_.d`");
target = TARGET_DIR_PATH.buildPath("version_.d");
"a directory path where to write `version_.di`");
target = TARGET_DIR_PATH.buildPath("version_.di");
}

string opensslVersion;
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 55d9fe6

Please sign in to comment.