Skip to content

Commit ad60324

Browse files
committed
fix: override durable path dep in workspace and demo
durable_dashboard now declares durable via Hex (its committed default), which diverges from the path dep that the root workspace and examples/phoenix_demo declare for durable. Mark those path deps override: true so local builds resolve the whole tree against the local durable checkout instead of erroring with "dependencies have diverged".
1 parent 63a36ee commit ad60324

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

examples/phoenix_demo/mix.exs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,10 @@ defmodule PhoenixDemo.MixProject do
6262
{:jason, "~> 1.2"},
6363
{:dns_cluster, "~> 0.2.0"},
6464
{:bandit, "~> 1.5"},
65-
# Durable workflow engine
66-
{:durable, path: "../../durable"},
65+
# Durable workflow engine. durable_dashboard depends on durable via Hex
66+
# (its committed default), so override here to build the whole demo against
67+
# the local durable checkout rather than the published release.
68+
{:durable, path: "../../durable", override: true},
6769
{:durable_dashboard, path: "../../durable_dashboard"}
6870
]
6971
end

mix.exs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ defmodule DurableWorkspace.MixProject do
99
version: "0.0.0",
1010
elixir: "~> 1.15",
1111
deps: [
12-
{:durable, path: "durable"},
12+
# durable_dashboard depends on durable via Hex (its committed default),
13+
# so override to resolve the whole workspace against the local checkout.
14+
{:durable, path: "durable", override: true},
1315
{:durable_dashboard, path: "durable_dashboard"}
1416
],
1517
aliases: [

0 commit comments

Comments
 (0)