From 7c6f0156d227c655a9d7cfba9141155b49f60904 Mon Sep 17 00:00:00 2001 From: Paul Cretu Date: Thu, 27 Jul 2023 21:16:15 +0000 Subject: [PATCH] Clean up ignore files --- .dockerignore | 5 +---- server/.gitignore | 46 +++++++++++++++++++--------------------------- 2 files changed, 20 insertions(+), 31 deletions(-) diff --git a/.dockerignore b/.dockerignore index 03fe1ff9..58c4ce77 100644 --- a/.dockerignore +++ b/.dockerignore @@ -20,7 +20,4 @@ ui/.next/ ui/out/ # deps -ui/node_modules/ - -### misc -.DS_Store \ No newline at end of file +ui/node_modules/ \ No newline at end of file diff --git a/server/.gitignore b/server/.gitignore index a725e65a..bd4de1c5 100644 --- a/server/.gitignore +++ b/server/.gitignore @@ -1,30 +1,29 @@ -# App artifacts -/_build -/db -/deps -/*.ez +# The directory Mix will write compiled artifacts to. +/_build/ -/rel +# If you run "mix test --cover", coverage assets end up here. +/cover/ -node_modules/ +# The directory Mix downloads your dependencies sources to. +/deps/ -.vscode/ +# Where 3rd-party dependencies like ExDoc output generated docs. +/doc/ -# Generated on crash by the VM +# Ignore .fetch files in case you like to edit your project deps locally. +/.fetch + +# If the VM crashes, it generates a dump, let's ignore it too. erl_crash.dump -# Files matching config/*.secret.exs pattern contain sensitive -# data and you should not commit them into version control. -# -# Alternatively, you may comment the line below and commit the -# secrets files as long as you replace their contents by environment -# variables. -/config/*.secret.exs +# Also ignore archive artifacts (built via "mix archive.build"). +*.ez # Temporary files, for example, from tests. /tmp/ -assets/src/config/ +# Ignore package tarball (built via "mix hex.build"). +hello-*.tar # Ignore assets that are produced by build tools. /priv/static/assets/ @@ -32,13 +31,6 @@ assets/src/config/ # Ignore digested assets cache. /priv/static/cache_manifest.json -# Webstorm -.idea/ - -bash / - -docker/ - -*.log - -.elixir_ls/ \ No newline at end of file +# In case you use Node.js/npm, you want to ignore these. +npm-debug.log +/assets/node_modules/