Juggernaut.Sandbox.MixExs (Juggernaut v0.4.0)

Copy Markdown View Source

The sandbox's copy of mix.exs (design notes §10.2): the project's file with every relative path: given as a string literal (path dependencies such as {:juggernaut, path: "../.."}) made absolute against the project root, because the sandbox lives at another depth. Everything else is copied as written; a path computed at run time is left alone.

Summary

Functions

source (a mix.exs) with relative literal path: values expanded against root.

Functions

rewrite(source, root)

@spec rewrite(String.t(), Path.t()) :: String.t()

source (a mix.exs) with relative literal path: values expanded against root.