Skip to content

Commit e32f172

Browse files
khamilowiczclaude
andcommitted
Fix Elixir 1.19 and OTP 28 compatibility
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 1ebc53b commit e32f172

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

mix.exs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,14 @@ defmodule Membrane.Mixfile do
4646
opts = [
4747
plt_local_path: "priv/plts",
4848
flags: [:error_handling, :unmatched_returns],
49-
plt_add_apps: [:mix, :req]
49+
plt_add_apps: [:mix, :req, :syntax_tools]
5050
]
5151

5252
if System.get_env("CI") == "true" do
5353
# Store core PLTs in cacheable directory for CI
5454
# For development it's better to stick to default, $MIX_HOME based path
5555
# to allow sharing core PLTs between projects
56+
File.mkdir_p!(Path.join([__DIR__, "priv", "plts"]))
5657
[plt_core_path: "priv/plts"] ++ opts
5758
else
5859
opts
@@ -256,7 +257,7 @@ defmodule Membrane.Mixfile do
256257
# Development
257258
{:ex_doc, "~> 0.40", only: :dev, runtime: false},
258259
{:makeup_diff, "~> 0.1", only: :dev, runtime: false},
259-
{:dialyxir, "~> 1.1", only: :dev, runtime: false},
260+
{:dialyxir, "~> 1.4", only: :dev, runtime: false},
260261
{:credo, "~> 1.7", only: :dev, runtime: false},
261262
{:req, "~> 0.5.17", only: [:dev, :test], runtime: false},
262263
# Testing

0 commit comments

Comments
 (0)