Skip to content

Commit

Permalink
Test for atilaneves#151
Browse files Browse the repository at this point in the history
  • Loading branch information
drug007 committed Aug 10, 2021
1 parent 1136583 commit dd309dc
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 0 deletions.
15 changes: 15 additions & 0 deletions tests/projects/dub_default_config_is_source_library/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
.dub
docs.json
__dummy.html
docs/
/dub_default_config_is_source_library
dub_default_config_is_source_library.so
dub_default_config_is_source_library.dylib
dub_default_config_is_source_library.dll
dub_default_config_is_source_library.a
dub_default_config_is_source_library.lib
dub_default_config_is_source_library-test-*
*.exe
*.o
*.obj
*.lst
14 changes: 14 additions & 0 deletions tests/projects/dub_default_config_is_source_library/dub.sdl
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name "dub_default_config_is_source_library"
description "Test for issue 151"

configuration "library" {
targetType "sourceLibrary"
targetName "Library"
sourceFiles "source/library.d"
}

configuration "demo" {
targetType "executable"
targetName "demo"
sourceFiles "source/demo.d"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import std.stdio;

void main()
{
writeln("Test for issue 151.");
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module library;

0 comments on commit dd309dc

Please sign in to comment.