More Related Content
Similar to Chicago Elixir - Elixir Intro
Similar to Chicago Elixir - Elixir Intro (20)
Chicago Elixir - Elixir Intro
- 35. defmodule Foo.Mixfile do"
  use Mix.Project"
!
  def project do"
    [ app: :foo,"
      version: "0.0.1","
      elixir: "~> 0.12.2","
      deps: deps ]"
  end"
!
  # Configuration for the OTP application"
  def application do"
    [mod: { Foo, [] }]"
  end"
!
  # Returns the list of dependencies in the format:"
  # { :foobar, git: "https://github.com/elixir-lang/foobar.git",
tag: "0.1" }"
  #"
  # To specify particular versions, regardless of the tag, do:"
  # { :barbat, "~> 0.1", github: "elixir-lang/barbat" }"
  defp deps do"
    []"
  end"
end