about summary refs log tree commit diff
path: root/assessments/semiprimes/server/mix.exs
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-12-11T22·42+0000
committerWilliam Carroll <wpcarro@gmail.com>2020-12-11T22·42+0000
commit6ff814a6d31126dbb61ae720c0eb4d0e7058bb00 (patch)
treefae1fcb41aee319f238273c1f67a80bf71fa7232 /assessments/semiprimes/server/mix.exs
parentc23a12746c8192859436392737de1667083e098a (diff)
Init Elixir project
Starting fresh with...

```shell
mix new server
```
Diffstat (limited to 'assessments/semiprimes/server/mix.exs')
-rw-r--r--assessments/semiprimes/server/mix.exs27
1 files changed, 27 insertions, 0 deletions
diff --git a/assessments/semiprimes/server/mix.exs b/assessments/semiprimes/server/mix.exs
new file mode 100644
index 000000000000..0efb638e1728
--- /dev/null
+++ b/assessments/semiprimes/server/mix.exs
@@ -0,0 +1,27 @@
+defmodule Server.MixProject do
+  use Mix.Project
+
+  def project do
+    [
+      app: :server,
+      version: "0.1.0",
+      elixir: "~> 1.10",
+      start_permanent: Mix.env() == :prod,
+      deps: deps()
+    ]
+  end
+
+  # Run "mix help compile.app" to learn about applications.
+  def application do
+    [
+      extra_applications: [:logger]
+    ]
+  end
+
+  # Run "mix help deps" to learn about dependencies.
+  defp deps do
+    [
+      {:cortex, "~> 0.1", only: [:dev, :test]}
+    ]
+  end
+end