From 147aa906ecf7bf07062ca0e73714b2dc1b727d19 Mon Sep 17 00:00:00 2001 From: Inkrementator <70717315+Inkrementator@users.noreply.github.com> Date: Tue, 3 Mar 2026 20:56:58 +0100 Subject: [PATCH 1/2] Readme: s/src/source since this is what dub init now uses A project created with dub init will create `source` folder instead of `src` --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a70a0c6..c8cebe5 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ project, you can use a `unittest` configuration as exemplified in this "targetType": "executable", "preBuildCommands": ["$DUB run --compiler=$$DC unit-threaded -c gen_ut_main -- -f bin/ut.d -d $DUB"], "mainSourceFile": "bin/ut.d", - "excludedSourceFiles": ["src/main.d"], + "excludedSourceFiles": ["source/main.d"], "dependencies": { "unit-threaded": "*" } @@ -61,7 +61,7 @@ configuration "executable" { configuration "unittest" { dependency "unit-threaded" version="*" mainSourceFile "bin/ut.d" - excludedSourceFiles "src/main.d" + excludedSourceFiles "source/main.d" targetType "executable" preBuildCommands "$DUB run --compiler=$$DC unit-threaded -c gen_ut_main -- -f bin/ut.d -d $DUB" } From e2f5e2ac30965f484418ce1abc0c56f95bda0d1f Mon Sep 17 00:00:00 2001 From: Inkrementator <70717315+Inkrementator@users.noreply.github.com> Date: Tue, 3 Mar 2026 21:01:22 +0100 Subject: [PATCH 2/2] s/main.d/app.d since this is what dub init creates makes it slightly faster to set up a new project --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c8cebe5..3107fa4 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ project, you can use a `unittest` configuration as exemplified in this "targetType": "executable", "preBuildCommands": ["$DUB run --compiler=$$DC unit-threaded -c gen_ut_main -- -f bin/ut.d -d $DUB"], "mainSourceFile": "bin/ut.d", - "excludedSourceFiles": ["source/main.d"], + "excludedSourceFiles": ["source/app.d"], "dependencies": { "unit-threaded": "*" } @@ -61,7 +61,7 @@ configuration "executable" { configuration "unittest" { dependency "unit-threaded" version="*" mainSourceFile "bin/ut.d" - excludedSourceFiles "source/main.d" + excludedSourceFiles "source/app.d" targetType "executable" preBuildCommands "$DUB run --compiler=$$DC unit-threaded -c gen_ut_main -- -f bin/ut.d -d $DUB" }