From 786acd1d0cecd5558e33090740f2163770b8b305 Mon Sep 17 00:00:00 2001 From: tobolar Date: Fri, 13 Jan 2023 11:54:16 +0100 Subject: [PATCH 1/4] Add gitignore for Modelica --- Modelica.gitignore | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 Modelica.gitignore diff --git a/Modelica.gitignore b/Modelica.gitignore new file mode 100644 index 00000000..edc234de --- /dev/null +++ b/Modelica.gitignore @@ -0,0 +1,37 @@ +# Modelica - an object-oriented language for modeling of cyber-physical systems +# https://modelica.org/ +# Ignore temporary files, build results, simulation files + +## Modelica backup files +*~ +*.bak +*.bak-mo + +## Build artefacts +*.exe +*.exp +*.o +*.pyc + +## Simulation files +*.mat + +## Package files +*.gz +*.rar +*.tar +*.zip + +## Dymola-specific files +buildlog.txt +dsfinal.txt +dsin.txt +dslog.txt +dsmodel* +dsres.txt +dymosim* +request +stat +status +stop +success \ No newline at end of file From e538e96f2ee81e080b26c89aeeccc7181c04eaf9 Mon Sep 17 00:00:00 2001 From: tobolar Date: Fri, 13 Jan 2023 12:05:35 +0100 Subject: [PATCH 2/4] Ignore flattened Modelica --- Modelica.gitignore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Modelica.gitignore b/Modelica.gitignore index edc234de..0aca78a0 100644 --- a/Modelica.gitignore +++ b/Modelica.gitignore @@ -2,10 +2,11 @@ # https://modelica.org/ # Ignore temporary files, build results, simulation files -## Modelica backup files +## Modelica-specific files *~ *.bak *.bak-mo +*.mof ## Build artefacts *.exe From 14c91a18cc0d7cecbee841f22be24293b91b0ced Mon Sep 17 00:00:00 2001 From: Dietmar Winkler Date: Sat, 14 Jan 2023 00:36:43 +0100 Subject: [PATCH 3/4] Adds some more OS specific file to the ignore list --- Modelica.gitignore | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Modelica.gitignore b/Modelica.gitignore index 0aca78a0..7b983f8a 100644 --- a/Modelica.gitignore +++ b/Modelica.gitignore @@ -7,6 +7,9 @@ *.bak *.bak-mo *.mof +\#*\# +*.moe +*.mol ## Build artefacts *.exe @@ -35,4 +38,8 @@ request stat status stop -success \ No newline at end of file +success +*. + +## Files generated by OS X +.DS_Store From 218d0dcd59392545424195c569182ebe838197a0 Mon Sep 17 00:00:00 2001 From: Dietmar Winkler Date: Tue, 17 Dec 2024 22:08:43 +0100 Subject: [PATCH 4/4] Remove OS specific settings covered by globals --- Modelica.gitignore | 3 --- 1 file changed, 3 deletions(-) diff --git a/Modelica.gitignore b/Modelica.gitignore index 7b983f8a..aa2cc996 100644 --- a/Modelica.gitignore +++ b/Modelica.gitignore @@ -40,6 +40,3 @@ status stop success *. - -## Files generated by OS X -.DS_Store