aboutsummaryrefslogtreecommitdiffstats
path: root/examples/elixir_hello_world/mix.exs
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2013-02-06 22:19:14 +0100
committerLoïc Hoguin <[email protected]>2013-02-06 22:19:14 +0100
commit37d24480236a5263eebbe957067f8698c78577f9 (patch)
tree73ddfccf3947c3e987ed21885431de1901d11668 /examples/elixir_hello_world/mix.exs
parent1c5ce11d13e7144091ce9a983ed0be6fbdb95c45 (diff)
parentb69903435e0278a6a91749d729f08ac01a8f623a (diff)
downloadcowboy-37d24480236a5263eebbe957067f8698c78577f9.tar.gz
cowboy-37d24480236a5263eebbe957067f8698c78577f9.tar.bz2
cowboy-37d24480236a5263eebbe957067f8698c78577f9.zip
Merge branch 'elixir-example' of git://github.com/yrashk/cowboy
Diffstat (limited to 'examples/elixir_hello_world/mix.exs')
-rw-r--r--examples/elixir_hello_world/mix.exs20
1 files changed, 20 insertions, 0 deletions
diff --git a/examples/elixir_hello_world/mix.exs b/examples/elixir_hello_world/mix.exs
new file mode 100644
index 0000000..862c6fa
--- /dev/null
+++ b/examples/elixir_hello_world/mix.exs
@@ -0,0 +1,20 @@
+defmodule ElixirHelloWorld.Mixfile do
+ use Mix.Project
+
+ def project do
+ [ app: :elixir_hello_world,
+ version: "0.0.1",
+ deps: deps ]
+ end
+
+ # Configuration for the OTP application
+ def application do
+ [ mod: { ElixirHelloWorld, [] },
+ applications: [:cowboy] ]
+ end
+
+ defp deps do
+ [ {:ranch, github: "extend/ranch", tag: "0.6.1"},
+ {:cowboy, github: "extend/cowboy"} ]
+ end
+end