forked from ninenines/gun
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f917599
commit 4a3bd0d
Showing
4 changed files
with
58 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
defmodule Gun.Mixfile do | ||
use Mix.Project | ||
|
||
def project do | ||
[ | ||
app: :gun, | ||
version: "2.0.1", | ||
description: description(), | ||
deps: deps(), | ||
package: package() | ||
] | ||
end | ||
|
||
defp description do | ||
""" | ||
HTTP/1.1, HTTP/2 and Websocket client for Erlang/OTP. | ||
""" | ||
end | ||
|
||
defp deps do | ||
[ | ||
{:cowlib, "~> 2.11"}, | ||
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false} | ||
] | ||
end | ||
|
||
defp package do | ||
[ | ||
name: "grpc_gun", | ||
maintainers: ["Loïc Hoguin"], | ||
licenses: ["ISC"], | ||
build_tools: ["rebar3"], | ||
links: %{ | ||
"GitHub" => "https://github.com/elixir-grpc/gun", | ||
"Original GitHub" => "https://github.com/ninenines/gun" | ||
}, | ||
files: ["erlang.mk", "LICENSE", "Makefile", "README.asciidoc", "rebar.config", "src"] | ||
] | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{application, 'gun', [ | ||
{description, "HTTP/1.1, HTTP/2 and Websocket client for Erlang/OTP."}, | ||
{vsn, "2.0.1"}, | ||
{modules, ['gun','gun_app','gun_content_handler','gun_data_h','gun_default_event_h','gun_event','gun_http','gun_http2','gun_raw','gun_socks','gun_sse_h','gun_sup','gun_tcp','gun_tls','gun_tls_proxy','gun_tls_proxy_cb','gun_ws','gun_ws_h']}, | ||
{registered, [gun_sup]}, | ||
{applications, [kernel,stdlib,ssl,cowlib]}, | ||
{mod, {gun_app, []}}, | ||
{env, []} | ||
]}. |