From c992170f39243e97565e2c0fd1eeca3014a3086c Mon Sep 17 00:00:00 2001 From: Jakob Sagatowski Date: Sat, 22 Jun 2019 15:00:35 +0200 Subject: [PATCH 1/6] Added gitignore-file for Beckhoff TwinCAT. --- TwinCAT.gitignore | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 TwinCAT.gitignore diff --git a/TwinCAT.gitignore b/TwinCAT.gitignore new file mode 100644 index 00000000..f9abebbd --- /dev/null +++ b/TwinCAT.gitignore @@ -0,0 +1,15 @@ +# gitignore template for TwinCAT +# website: https://www.beckhoff.com/twincat/ +# +# Recommended: VisualStudio.gitignore + +# TwinCAT files +*.tpy +*.tclrs +*.compiled-library +*.compileinfo +*.tmc +*.library +_Boot/ +_CompileInfo/ +_Libraries/ \ No newline at end of file From e4fe597296aabb7f8fe1a3cc9b9c8dbdf329a8f8 Mon Sep 17 00:00:00 2001 From: Jakob Sagatowski Date: Sat, 13 Jul 2019 18:41:49 +0200 Subject: [PATCH 2/6] Renamed TwinCAT.gitignore to TwinCAT3.gitignore so it's obvious this is a gitignore file only applicable for TwinCAT3 and not also TwinCAT2 (which stores everything in a big binary blob). --- TwinCAT.gitignore => TwinCAT3.gitignore | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename TwinCAT.gitignore => TwinCAT3.gitignore (65%) diff --git a/TwinCAT.gitignore b/TwinCAT3.gitignore similarity index 65% rename from TwinCAT.gitignore rename to TwinCAT3.gitignore index f9abebbd..6fbcd797 100644 --- a/TwinCAT.gitignore +++ b/TwinCAT3.gitignore @@ -1,5 +1,5 @@ -# gitignore template for TwinCAT -# website: https://www.beckhoff.com/twincat/ +# gitignore template for TwinCAT3 +# website: https://www.beckhoff.com/twincat3/ # # Recommended: VisualStudio.gitignore From 414be70b393643f3b998a04912e52cdc7e737c61 Mon Sep 17 00:00:00 2001 From: Jakob Sagatowski Date: Mon, 14 Oct 2019 07:45:54 +0200 Subject: [PATCH 3/6] Added: - tmcRefac - project.~u - tsproj.bak - xti.bak (TwinCAT export files backup) --- TwinCAT3.gitignore | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/TwinCAT3.gitignore b/TwinCAT3.gitignore index 6fbcd797..88377455 100644 --- a/TwinCAT3.gitignore +++ b/TwinCAT3.gitignore @@ -9,7 +9,11 @@ *.compiled-library *.compileinfo *.tmc +*.tmcRefac *.library +*.project.~u +*.tsproj.bak +*.xti.bak _Boot/ _CompileInfo/ _Libraries/ \ No newline at end of file From d38de74008151753b574ebad0d3171ff1025e65e Mon Sep 17 00:00:00 2001 From: Jakob Sagatowski Date: Thu, 5 Dec 2019 12:42:11 +0100 Subject: [PATCH 4/6] Clarified *.tmc-files rule. --- TwinCAT3.gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/TwinCAT3.gitignore b/TwinCAT3.gitignore index 88377455..87b50cf0 100644 --- a/TwinCAT3.gitignore +++ b/TwinCAT3.gitignore @@ -8,6 +8,9 @@ *.tclrs *.compiled-library *.compileinfo +# Don't include the tmc-file rule if either of the following is true: +# 1. You've got TwinCAT C++ projects, as the information in the TMC-file is created manually for the C++ projects (in that case, only (manually) ignore the tmc-files for the PLC projects) +# 2. You've created a standalone PLC-project and added events to it, as these are stored in the TMC-file. *.tmc *.tmcRefac *.library From 7d05cd61d4d33d11da1bec19e43b89325aae9e25 Mon Sep 17 00:00:00 2001 From: Jakob Sagatowski Date: Sat, 25 Jan 2020 19:13:52 +0100 Subject: [PATCH 5/6] As a product of enabling the write of separate LineIDs (described here https://github.com/tcunit/TcUnit/issues/85) and having a discussion with Beckhoff support, it was concluded that the files "LineIDs.dbg" and "LineIDs.dbg.bak" should not be version controlled, and thus these two are added to the gitignore-file for TwinCAT3. --- TwinCAT3.gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/TwinCAT3.gitignore b/TwinCAT3.gitignore index 87b50cf0..cb3926ab 100644 --- a/TwinCAT3.gitignore +++ b/TwinCAT3.gitignore @@ -17,6 +17,8 @@ *.project.~u *.tsproj.bak *.xti.bak +LineIDs.dbg +LineIDs.dbg.bak _Boot/ _CompileInfo/ _Libraries/ \ No newline at end of file From 88014e6d0c75dfd0927348800404bb58d80aede6 Mon Sep 17 00:00:00 2001 From: Jakob Sagatowski Date: Tue, 26 May 2020 16:17:55 +0200 Subject: [PATCH 6/6] After adding the new product "TF3680 - TC3 Filter" as a reference, some new files were automatically generated after compilation: _ModuleInstall/TcFilter/TwinCAT CE7 (ARMV7)/TcFilterW32.dll _ModuleInstall/TcFilter/TwinCAT CE7 (x86)/TcFilterW32.dll _ModuleInstall/TcFilter/TwinCAT RT (x64)/TcFilter.sys _ModuleInstall/TcFilter/TwinCAT RT (x86)/TcFilter.sys After contacting Beckhoff support, it was concluded that the folder "_ModuleInstall" could be omitted from version control, thus this addition. --- TwinCAT3.gitignore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/TwinCAT3.gitignore b/TwinCAT3.gitignore index cb3926ab..7bd6f875 100644 --- a/TwinCAT3.gitignore +++ b/TwinCAT3.gitignore @@ -21,4 +21,5 @@ LineIDs.dbg LineIDs.dbg.bak _Boot/ _CompileInfo/ -_Libraries/ \ No newline at end of file +_Libraries/ +_ModuleInstall/ \ No newline at end of file