Skip to content

Print root-package relative path of the file where a failure happens#22

Merged
mneumann merged 1 commit intosavi-lang:mainfrom
mneumann:print-rootpkg-relative-path-in-failures
Sep 22, 2022
Merged

Print root-package relative path of the file where a failure happens#22
mneumann merged 1 commit intosavi-lang:mainfrom
mneumann:print-rootpkg-relative-path-in-failures

Conversation

@mneumann
Copy link
Copy Markdown
Contributor

Issue #20 is about printing the absolute path and not the package-relative path as this commit implements. We decided to use the root-package relative path as the absolute path exposes details about where you store your files and also makes the spec for Spec itself difficult.

The root-package is the one where you are running savi build or savi run from.

This requires savi v0.20220921.1 or later.

Related issues: #20

Issue #20 is about printing the absolute path and not the
package-relative path as this commit implements. We decided to use the
root-package relative path as the absolute path exposes details about
where you store your files and also makes the spec for `Spec` itself
difficult.

The root-package is the one where you are running `savi build` or `savi
run` from.

Related issues: #20
@mneumann mneumann merged commit f54fbed into savi-lang:main Sep 22, 2022
@mneumann mneumann deleted the print-rootpkg-relative-path-in-failures branch September 22, 2022 12:02
Copy link
Copy Markdown
Contributor

@jemc jemc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants