summaryrefslogtreecommitdiff
path: root/test/elixir/config
diff options
context:
space:
mode:
authorPaul J. Davis <paul.joseph.davis@gmail.com>2017-12-15 11:52:36 -0600
committerRussell Branca <chewbranca@apache.org>2018-06-22 22:12:35 +0000
commit0b48df67520a023c95d6f229534378664601c241 (patch)
tree134665a52c27dc0462270a48e05f31a844585b06 /test/elixir/config
parent0097ac565517c460fa25eb40f1ad4e3750266eca (diff)
downloadcouchdb-0b48df67520a023c95d6f229534378664601c241.tar.gz
Move elixir_suite to test/elixir
Diffstat (limited to 'test/elixir/config')
-rw-r--r--test/elixir/config/config.exs30
-rw-r--r--test/elixir/config/test.exs3
2 files changed, 33 insertions, 0 deletions
diff --git a/test/elixir/config/config.exs b/test/elixir/config/config.exs
new file mode 100644
index 000000000..966ae83bb
--- /dev/null
+++ b/test/elixir/config/config.exs
@@ -0,0 +1,30 @@
+# This file is responsible for configuring your application
+# and its dependencies with the aid of the Mix.Config module.
+use Mix.Config
+
+# This configuration is loaded before any dependency and is restricted
+# to this project. If another project depends on this project, this
+# file won't be loaded nor affect the parent project. For this reason,
+# if you want to provide default values for your application for
+# 3rd-party users, it should be done in your "mix.exs" file.
+
+# You can configure your application as:
+#
+# config :foo, key: :value
+#
+# and access this configuration in your application as:
+#
+# Application.get_env(:foo, :key)
+#
+# You can also configure a 3rd-party app:
+#
+# config :logger, level: :info
+#
+
+# It is also possible to import configuration files, relative to this
+# directory. For example, you can emulate configuration per environment
+# by uncommenting the line below and defining dev.exs, test.exs and such.
+# Configuration from the imported file will override the ones defined
+# here (which is why it is important to import them last).
+#
+# import_config "#{Mix.env}.exs"
diff --git a/test/elixir/config/test.exs b/test/elixir/config/test.exs
new file mode 100644
index 000000000..4b28ea99b
--- /dev/null
+++ b/test/elixir/config/test.exs
@@ -0,0 +1,3 @@
+config :logger,
+ backends: [:console],
+ compile_time_purge_level: :debug