Skip to content

How to set workspace-relative outputs with the relative package paths? #1418

Answered by milesj
niieani asked this question in Q&A
Discussion options

You must be logged in to vote

@niieani Would the $projectSource token work here? https://moonrepo.dev/docs/concepts/token#projectsource This is the project path, without the workspace prefix.

As an aside: It would be neat if we could provide the list of files written by a given process, from the output of that process, so moon knows exactly what to cache without having to provide outputs. Esp. for custom scripts this would be possible to achieve (since we have full control over what gets written to stdout/stderr).

This is a pretty neat idea. Kind of reminds of me GH actions a bit. I can look into this for the future.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@niieani
Comment options

Answer selected by niieani
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants