Skip to content

Commit 17a2b6e

Browse files
committed
Make sure all tasks are available
1 parent 24f4478 commit 17a2b6e

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ The format is based on [Keep a
66
Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to
77
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
88

9+
## 0.7.5 - 2024-09-25
10+
11+
### Fixed
12+
13+
- Makes sure all harness archive tasks are loaded and available to use
14+
915
## 0.7.4 - 2023-08-09
1016

1117
### Fixed

lib/harness/manifest.ex

+4-1
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,16 @@ defmodule Harness.Manifest do
7878
:ok = ProjectStack.push(__MODULE__, config, Path.expand(path))
7979

8080
deps = Mix.Dep.cached()
81+
archive_path = archive_path()
8182

8283
:ok =
8384
deps
8485
|> Enum.flat_map(&Mix.Dep.load_paths/1)
85-
|> (&[archive_path() | &1]).()
8686
|> Enum.each(&Code.append_path/1)
8787

88+
Code.append_path(archive_path)
89+
Mix.Task.load_tasks([archive_path])
90+
8891
deps
8992
|> Enum.map(fn %Mix.Dep{app: app} -> app end)
9093
|> Enum.each(&Application.ensure_started/1)

0 commit comments

Comments
 (0)