Packages

Build-Time Hot-Code Upgrade support for Elixir

Current section

4 Versions

Jump to

Compare versions

5 files changed
+15 additions
-11 deletions
  @@ -1,5 +1,9 @@
1 1 # Changelog
2 2
3 + ## 0.1.3 - Jan 19, 2025
4 +
5 + - 1.18 fixes
6 +
3 7 ## 0.1.2 - Jun 10, 2023
4 8
5 9 - Fixes to bin script generation
  @@ -10,4 +14,4 @@
10 14
11 15 ## 0.1.0 - May 27, 2023
12 16
13 - - Initial revision
\ No newline at end of file
17 + - Initial revision
  @@ -1,5 +1,8 @@
1 - {<<"app">>,<<"forecastle">>}.
2 - {<<"build_tools">>,[<<"mix">>]}.
1 + {<<"links">>,
2 + [{<<"Castle">>,<<"https://hex.pm/packages/castle">>},
3 + {<<"GitHub">>,<<"https://github.com/ausimian/castle">>}]}.
4 + {<<"name">>,<<"forecastle">>}.
5 + {<<"version">>,<<"0.1.3">>}.
3 6 {<<"description">>,<<"Build-Time Hot-Code Upgrade support for Elixir">>}.
4 7 {<<"elixir">>,<<"~> 1.14">>}.
5 8 {<<"files">>,
  @@ -8,10 +11,7 @@
8 11 <<"lib/mix/tasks/compile/appup.ex">>,<<"priv">>,<<"priv/script.sh">>,
9 12 <<".formatter.exs">>,<<"mix.exs">>,<<"README.md">>,<<"LICENSE">>,
10 13 <<"CHANGELOG.md">>]}.
14 + {<<"app">>,<<"forecastle">>}.
11 15 {<<"licenses">>,[<<"MIT">>]}.
12 - {<<"links">>,
13 - [{<<"Castle">>,<<"https://hex.pm/packages/castle">>},
14 - {<<"GitHub">>,<<"https://github.com/ausimian/castle">>}]}.
15 - {<<"name">>,<<"forecastle">>}.
16 16 {<<"requirements">>,[]}.
17 - {<<"version">>,<<"0.1.2">>}.
17 + {<<"build_tools">>,[<<"mix">>]}.
  @@ -95,7 +95,7 @@ defmodule Forecastle do
95 95 &Keyword.put(&1, :config_providers, provider_states)
96 96 )
97 97
98 - File.write!(sys_config_path, :io_lib.format('~tp.~n', [new_sys_config]))
98 + File.write!(sys_config_path, :io_lib.format(~c"~tp.~n", [new_sys_config]))
99 99 end
100 100
101 101 defp rename_sys_config(%Mix.Release{version_path: vp}) do
  @@ -13,7 +13,7 @@ defmodule Mix.Tasks.Compile.Appup do
13 13 if File.exists?(src) do
14 14 {appup, []} = Code.eval_file(src)
15 15 dst = Path.join(Mix.Project.compile_path(), "#{Mix.Project.config()[:app]}.appup")
16 - File.write(dst, :io_lib.format('~tp.~n', [appup]))
16 + File.write(dst, :io_lib.format(~c"~tp.~n", [appup]))
17 17 else
18 18 {:ok, diagnostic(:warning, "Appup file not found: #{src}")}
19 19 end
  @@ -4,7 +4,7 @@ defmodule Forecastle.MixProject do
4 4 def project do
5 5 [
6 6 app: :forecastle,
7 - version: "0.1.2",
7 + version: "0.1.3",
8 8 elixir: "~> 1.14",
9 9 start_permanent: Mix.env() == :prod,
10 10 deps: deps(),