From c3d7746bf9f706ca021a896653a142d8cb515bee Mon Sep 17 00:00:00 2001 From: Andrew Dryga Date: Sun, 5 Feb 2017 23:07:45 +0200 Subject: [PATCH 1/2] Publish package to hex.pm --- .gitignore | 3 +++ mix.exs | 25 +++++++++++++++++++++++++ mix.lock | 2 ++ 3 files changed, 30 insertions(+) create mode 100644 mix.exs create mode 100644 mix.lock diff --git a/.gitignore b/.gitignore index 1b522f7..a5a8c50 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ +deps/ +_build/ +doc/ *~ ebin/* *.svg diff --git a/mix.exs b/mix.exs new file mode 100644 index 0000000..4477bc7 --- /dev/null +++ b/mix.exs @@ -0,0 +1,25 @@ +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.0", + package: package(), + deps: deps()] + 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 diff --git a/mix.lock b/mix.lock new file mode 100644 index 0000000..761b812 --- /dev/null +++ b/mix.lock @@ -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]}]}} From 6b8c6d5ac8e88588ffa2985e8c74d317fadca340 Mon Sep 17 00:00:00 2001 From: Andrew Dryga Date: Mon, 6 Feb 2017 11:36:50 +0200 Subject: [PATCH 2/2] Added application to hex package --- mix.exs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mix.exs b/mix.exs index 4477bc7..2784d51 100644 --- a/mix.exs +++ b/mix.exs @@ -6,11 +6,15 @@ defmodule Eflame.Mixfile do language: :erlang, name: "eflame", description: "Flame Graph profiler for Erlang and Elixir.", - version: "1.0.0", + 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