Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish package to hex.pm #14

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
deps/
_build/
doc/
*~
ebin/*
*.svg
Expand Down
29 changes: 29 additions & 0 deletions mix.exs
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
defmodule Eflame.Mixfile do
use Mix.Project

def project do
[app: :eflame,
language: :erlang,
name: "eflame",
description: "Flame Graph profiler for Erlang and Elixir.",
version: "1.0.1",
package: package(),
deps: deps()]
end

def application do
[mod: {:eflame_app, []}]
end

defp deps do
[{:ex_doc, ">= 0.0.0", only: :dev}]
end

defp package do
[contributors: ["Vladimir Kirillov"],
maintainers: ["Nebo #15"],
licenses: ["LISENSE.md"],
links: %{github: "https://github.com/proger/eflame"},
files: ~w(src LICENSE mix.exs README.md stack_to_flame.sh stacks_to_flames.sh flamegraph.pl)]
end
end
2 changes: 2 additions & 0 deletions mix.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
%{"earmark": {:hex, :earmark, "1.1.1", "433136b7f2e99cde88b745b3a0cfc3fbc81fe58b918a09b40fce7f00db4d8187", [:mix], []},
"ex_doc": {:hex, :ex_doc, "0.14.5", "c0433c8117e948404d93ca69411dd575ec6be39b47802e81ca8d91017a0cf83c", [:mix], [{:earmark, "~> 1.0", [hex: :earmark, optional: false]}]}}