1 Star 1 Fork 0

甘樂 / Servy

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
mix.exs 727 Bytes
一键复制 编辑 原始数据 按行查看 历史
甘樂 提交于 2020-08-17 01:02 . feat(app): run as a full application
defmodule Servy.MixProject do
use Mix.Project
def project do
[
app: :servy,
description: "A humble HTTP 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],
mod: {Servy, []},
env: [port: 3000]
# mix compile => mix run --no-halt
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:poison, "~> 4.0"}
# {:dep_from_hexpm, "~> 0.3.0"},
# {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}
]
end
end
Elixir
1
https://gitee.com/edmondfrank/Servy.git
git@gitee.com:edmondfrank/Servy.git
edmondfrank
Servy
Servy
master

搜索帮助