Skip to content

Commit

Permalink
Merge pull request #27 from NFIBrokerage/make-sure-tasks-are-loaded
Browse files Browse the repository at this point in the history
Make sure tasks are loaded
  • Loading branch information
svrdlans authored Sep 30, 2024
2 parents 24f4478 + f3e25da commit 07e9810
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 2 deletions.
27 changes: 26 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,32 @@ 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.4 - 2023-08-09
## 0.8.3 - 2024-09-25

### Fixed

- Makes sure all harness archive tasks are loaded and available to use

## 0.8.2 - 2024-03-18

### Changed

- Updated `actions/checkout@` from `v3` to `v4` in GH actions
- Updated `actions/cache@` from `v3` to `v4` in GH actions
- Updated `NFIBrokerage/create-release@` from `v3` to `v4` in GH actions

## 0.8.1 - 2023-08-24

### Changed

- Updated `actions/checkout@` from `v1` to `v3` in GH actions
- Updated `actions/cache@` from `v1` to `v3` in GH actions
- Updated `NFIBrokerage/create-release@` from `v2` to `v3` in GH actions
- Change `release_name` to `name` field in `NFIBrokerage/create-release@v3`
action in GH actions
- Fixed credo warnings

## 0.8.0 - 2023-08-09

### Fixed

Expand Down
5 changes: 4 additions & 1 deletion lib/harness/manifest.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 07e9810

Please sign in to comment.