Skip to content

Instantly share code, notes, and snippets.

@tokoyax
Last active November 17, 2017 12:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tokoyax/2e9e676416e6a74e8fe1c1135244cd6a to your computer and use it in GitHub Desktop.
Save tokoyax/2e9e676416e6a74e8fe1c1135244cd6a to your computer and use it in GitHub Desktop.
mix.exs
defmodule No.Mixfile do
use Mix.Project
def project do
[
app: :no,
version: "0.1.0",
elixir: "~> 1.5",
escript: escript_config(),
start_permanent: Mix.env == :prod,
deps: deps()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
defp escript_config do
[main_module: No]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
# {:dep_from_hexpm, "~> 0.3.0"},
# {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"},
]
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment