diff --git a/test/issue2452/.no_test b/test/issue2452/.no_test new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/test/issue2452/.no_test diff --git a/test/issue2452/dub.json b/test/issue2452/dub.json index 40f2fd0..1260386 100644 --- a/test/issue2452/dub.json +++ b/test/issue2452/dub.json @@ -2,8 +2,12 @@ "name": "generated-sources-and-source-files-without-glob", "description": "Example of using pre generate commands and sourceFiles without glob.", "sourceFiles": ["ext/fortytwo.d"], - "preGenerateCommands": [ + "preGenerateCommands-posix": [ "mkdir -p ext", "echo 'extern(C) int fun42 () { return 42; }' > ext/fortytwo.d" + ], + "preGenerateCommands-windows": [ + "if not exist ext mkdir ext", + "echo extern(C) int fun42 () { return 42; } > ext/fortytwo.d" ] }