View Source Harness.Manifest (Harness v0.8.3)

A local project's harness configuration

Summary

Functions

gets the path of the archive itself

Loads the manifest onto the project stack and loads dependencies

reads the manifest file from the path

Verifies that the generated files in .harness match the configuration of the harness.exs

Functions

gets the path of the archive itself

Loads the manifest onto the project stack and loads dependencies

By clearing and pushing a fake project onto the Mix.ProjectStack, we can utilize large parts of the Mix codebase without much hacking or rewriting.

This function clears the existing stack and pushes a configuration onto it. Most of the configuration follows the defaults, but the dependencies are read from the harness manifest (harness.exs) and the dependency versions are locked to harness.lock.

reads the manifest file from the path

Link to this function

verify(path)

View Source (since 0.6.0)

Verifies that the generated files in .harness match the configuration of the harness.exs