You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Documentation/SourceLayouts.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -35,6 +35,6 @@ Where `foo` is an executable and `bar.a` a static library.
35
35
36
36
## Other Rules
37
37
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.
40
40
* 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