diff --git a/CHANGELOG.md b/CHANGELOG.md index 64d8b83..9fec43f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## 0.7.5 - 2024-09-25 + +### Fixed + +- Makes sure all harness archive tasks are loaded and available to use + ## 0.7.4 - 2023-08-09 ### Fixed diff --git a/lib/harness/manifest.ex b/lib/harness/manifest.ex index 25a83f9..2ed7529 100644 --- a/lib/harness/manifest.ex +++ b/lib/harness/manifest.ex @@ -78,13 +78,16 @@ defmodule Harness.Manifest do :ok = ProjectStack.push(__MODULE__, config, Path.expand(path)) deps = Mix.Dep.cached() + archive_path = archive_path() :ok = deps |> Enum.flat_map(&Mix.Dep.load_paths/1) - |> (&[archive_path() | &1]).() |> Enum.each(&Code.append_path/1) + Code.append_path(archive_path) + Mix.Task.load_tasks([archive_path]) + deps |> Enum.map(fn %Mix.Dep{app: app} -> app end) |> Enum.each(&Application.ensure_started/1)