Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make workspace output dir absolute path #1119

Merged
merged 9 commits into from
Nov 18, 2023
Merged

Conversation

JordanMartinez
Copy link
Contributor

Description of the change

Fixes #1118

Checklist:

  • Added the change to the "Unreleased" section of the changelog
  • Added some example of the new feature to the README
  • Added a test for the contribution (if applicable)

P.S.: the above checks are not compulsory to get a change merged, so you may skip them. However, taking care of them will result in less work for the maintainers and will be much appreciated 😊

Copy link
Member

@f-f f-f left a comment

Choose a reason for hiding this comment

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

Do we need to treat paths as absolute throughout the program?
I think we could get away with just calling Path.resolve at the usage location.

, withForwardSlashes opts.sourceDir
, "/"
, fromMaybe "output" workspace.buildOptions.output
, absOutput
Copy link
Member

Choose a reason for hiding this comment

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

CI for windows is failing and I suspect it's due to this

Suggested change
, absOutput
, withForwardSlashes absOutput

@JordanMartinez
Copy link
Contributor Author

Latest CI error was due to a test timing out in a parsing test. I don't think that's related to this PR.

Copy link
Member

@f-f f-f left a comment

Choose a reason for hiding this comment

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

Yes! This is great 🙂

@JordanMartinez JordanMartinez merged commit 6d5929a into master Nov 18, 2023
3 checks passed
@f-f f-f deleted the jam/1118-abs-output branch March 8, 2024 09:57
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.

spago test fails when output folder specified.
2 participants