Skip to content

Commit a3259cb

Browse files
modifies lib exclude, adds example lib include
explicitly excludes the `_Libraries` directory, and provides example of adding sub directories back in. Should be used for including custom and third party (non -Beckhoff shipped) libraries, improving maintainability
1 parent ceea7ca commit a3259cb

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

TwinCAT3.gitignore

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,11 @@ LineIDs.dbg
2121
LineIDs.dbg.bak
2222
_Boot/
2323
_CompileInfo/
24-
_Libraries/
25-
_ModuleInstall/
24+
_ModuleInstall/
25+
26+
# Exclude all libraries
27+
/**/_Libraries/*/
28+
29+
# To include a specific library directory (i.e. third party/custom libs),
30+
# use pattern `!/**/_Libraries/<directory name>/` i.e. `!/**/_Libraries/www.tcunit.org/`
31+
#

0 commit comments

Comments
 (0)