Current section
2 Versions
Jump to
Current section
2 Versions
Compare versions
4
files changed
+20
additions
-11
deletions
| @@ -1,3 +1,7 @@ | |
| 1 1 | # 0.1.0 |
| 2 2 | |
| 3 | + * update to elixir 1.3 |
| 4 | + |
| 5 | + # 0.1.0 |
| 6 | + |
| 3 7 | First release! |
| @@ -1,10 +1,12 @@ | |
| 1 1 | {<<"app">>,<<"exscript">>}. |
| 2 2 | {<<"build_tools">>,[<<"mix">>]}. |
| 3 | - {<<"description">>,<<"Escript generator\n">>}. |
| 4 | - {<<"elixir">>,<<"~> 1.1-dev">>}. |
| 3 | + {<<"description">>,<<"Escript generator">>}. |
| 4 | + {<<"elixir">>,<<"~> 1.3">>}. |
| 5 5 | {<<"files">>, |
| 6 6 | [<<"lib/exscript.ex">>,<<"mix.exs">>,<<"README.md">>,<<"CHANGELOG.md">>]}. |
| 7 | + {<<"licenses">>,[<<"Apache 2.0">>]}. |
| 7 8 | {<<"links">>,[{<<"GitHub">>,<<"https://github.com/liveforeverx/exscript">>}]}. |
| 9 | + {<<"maintainers">>,[<<"Dmitry Russ(Aleksandrov)">>]}. |
| 8 10 | {<<"name">>,<<"exscript">>}. |
| 9 11 | {<<"requirements">>,[]}. |
| 10 | - {<<"version">>,<<"0.0.1">>}. |
| 12 | + {<<"version">>,<<"0.1.0">>}. |
| @@ -42,10 +42,11 @@ defmodule Exscript do | |
| 42 42 | |> Stream.concat |
| 43 43 | |> prepare_beam_paths |
| 44 44 | |
| 45 | - if should_consolidate do |
| 46 | - beam_paths = |
| 47 | - Path.wildcard(consolidated_path <> "/*") |
| 48 | - |> prepare_beam_paths(beam_paths) |
| 45 | + beam_paths = if should_consolidate do |
| 46 | + Path.wildcard(consolidated_path <> "/*") |
| 47 | + |> prepare_beam_paths(beam_paths) |
| 48 | + else |
| 49 | + beam_paths |
| 49 50 | end |
| 50 51 | |
| 51 52 | tuples = gen_main(escript_mod, main, app, language) ++ |
| @@ -130,7 +131,7 @@ defmodule Exscript do | |
| 130 131 | end) |
| 131 132 | end |
| 132 133 | |
| 133 | - defp consolidated_path, do: Mix.Tasks.Compile.Protocols.default_path |
| 134 | + defp consolidated_path, do: Mix.Project.consolidation_path(Mix.Project.config) |
| 134 135 | |
| 135 136 | defp build_comment(user_comment) do |
| 136 137 | "%% #{user_comment}\n" |
| @@ -1,12 +1,12 @@ | |
| 1 1 | defmodule Exscript.Mixfile do |
| 2 2 | use Mix.Project |
| 3 | - @vsn "0.0.1" |
| 3 | + @vsn "0.1.0" |
| 4 4 | @github "https://github.com/liveforeverx/exscript" |
| 5 5 | |
| 6 6 | def project do |
| 7 7 | [app: :exscript, |
| 8 8 | version: @vsn, |
| 9 | - elixir: "~> 1.1-dev", |
| 9 | + elixir: "~> 1.3", |
| 10 10 | deps: deps, |
| 11 11 | description: description, |
| 12 12 | package: package] |
| @@ -19,7 +19,9 @@ defmodule Exscript.Mixfile do | |
| 19 19 | end |
| 20 20 | |
| 21 21 | defp package do |
| 22 | - [links: %{"GitHub" => @github}] |
| 22 | + [maintainers: ["Dmitry Russ(Aleksandrov)"], |
| 23 | + licenses: ["Apache 2.0"], |
| 24 | + links: %{"GitHub" => @github}] |
| 23 25 | end |
| 24 26 | |
| 25 27 | # Configuration for the OTP application |