Skip to content

Commit

Permalink
Merge pull request #27 from josevalim/jv-mix-fix
Browse files Browse the repository at this point in the history
Include application specification for mix.exs
  • Loading branch information
deadtrickster authored Jun 20, 2023
2 parents b503f3e + 47b4368 commit f5f91ef
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions mix.exs
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
defmodule SSLVerifyFun.Mixfile do
use Mix.Project

{:ok, [{:application, :ssl_verify_fun, props}]} = :file.consult("src/ssl_verify_fun.app.src")
@props Keyword.take(props, [:applications, :description, :env, :mod, :vsn])

def application do
@props
end

def project do
[app: :ssl_verify_fun,
language: :erlang,
version: "1.1.6",
description: description(),
description: to_string(@props[:description]),
package: package()]
end

defp description() do
"""
SSL verification functions for Erlang
"""
end

defp package() do
[maintainers: ["Ilya Khaprov"],
licenses: ["MIT"],
Expand Down

0 comments on commit f5f91ef

Please sign in to comment.