From 234fcf9dd0a68bb97af2d7b92eb973a9e9de5db3 Mon Sep 17 00:00:00 2001 From: Patrick O'Keeffe Date: Tue, 24 May 2022 09:57:09 -0700 Subject: [PATCH 1/3] New template: CRBasic --- community/CRBasic.gitignore | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 community/CRBasic.gitignore diff --git a/community/CRBasic.gitignore b/community/CRBasic.gitignore new file mode 100644 index 00000000..10965b2e --- /dev/null +++ b/community/CRBasic.gitignore @@ -0,0 +1,19 @@ +# gitignore template for CRBasic +# website: https://help.campbellsci.com/crbasic/landing/ +# +# Recommended: CRBasic.gitignore + +# Auto-generated table definitions files +*.[tT][dD][fF] + +# Compressed source files +*_str.cr* + +# Conditional compilation output files +*_CC*.cr* + +# Binary compiled files (CR200 series) +*.bin + +# Encrypted compiled files +*_Enc.cr* From fb87ab7bc752f296c1148d6a60164b162c993563 Mon Sep 17 00:00:00 2001 From: Patrick O'Keeffe Date: Tue, 24 May 2022 12:57:01 -0700 Subject: [PATCH 2/3] FIX: match case insensitive --- community/CRBasic.gitignore | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/community/CRBasic.gitignore b/community/CRBasic.gitignore index 10965b2e..d792bd63 100644 --- a/community/CRBasic.gitignore +++ b/community/CRBasic.gitignore @@ -7,13 +7,13 @@ *.[tT][dD][fF] # Compressed source files -*_str.cr* +*_str.[cC][rR]* # Conditional compilation output files -*_CC*.cr* +*_CC*.[cC][rR]* # Binary compiled files (CR200 series) *.bin # Encrypted compiled files -*_Enc.cr* +*_Enc.[cC][rR]* From 15f2ab60cf6c77f00287d5dc3db6bfa9d226939c Mon Sep 17 00:00:00 2001 From: Patrick O'Keeffe Date: Wed, 22 Jun 2022 10:05:55 -0700 Subject: [PATCH 3/3] Refine extension matching --- community/CRBasic.gitignore | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/community/CRBasic.gitignore b/community/CRBasic.gitignore index d792bd63..0e2a3488 100644 --- a/community/CRBasic.gitignore +++ b/community/CRBasic.gitignore @@ -7,13 +7,22 @@ *.[tT][dD][fF] # Compressed source files -*_str.[cC][rR]* +*_str.[cC][rR][123589B] +*_str.[cC]9[xX] +*_str.[cC][rR]1[xX] +*_str.[cC][rR]300 # Conditional compilation output files -*_CC*.[cC][rR]* +*_CC*.[cC][rR][123589B] +*_CC*.[cC]9[xX] +*_CC*.[cC][rR]1[xX] +*_CC*.[cC][rR]300 # Binary compiled files (CR200 series) *.bin # Encrypted compiled files -*_Enc.[cC][rR]* +*_Enc.[cC][rR][123589B] +*_Enc.[cC]9[xX] +*_Enc.[cC][rR]1[xX] +*_Enc.[cC][rR]300