Skip to content

Commit 37d3c28

Browse files
committed
Merge pull request #155 from aciidb0mb3r/patch-1
Update SourceLayouts.md - Tests directory
2 parents 8f1a3ee + 213578e commit 37d3c28

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/SourceLayouts.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ Where `foo` is an executable and `bar.a` a static library.
3535

3636
## Other Rules
3737

38-
* Directories named `Tests` are ignored
39-
* Sub directories of a directory named `Sources`, `Source`, `srcs` or `src` become modules
38+
* Sub directories of directory named `Tests` become test-modules and are executed by `swift test`. `Tests` or any subdirectory can be excluded via Manifest file.
39+
* Sub directories of a directory named `Sources`, `Source`, `srcs` or `src` become modules.
4040
* It is acceptable to have no `Sources` directory, in which case the root directory is treated as a single module (place your sources there) or sub directories of the root are considered modules. Use this layout convention for simple projects.

0 commit comments

Comments
 (0)