-
-
Notifications
You must be signed in to change notification settings - Fork 232
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
Martin-ui packaging issue #1699
Conversation
Seems we still have a packaging issue - npm saves files outside the build dir
for more information, see https://pre-commit.ci
…e OS error in CI is comming from precicely
for more information, see https://pre-commit.ci
I will not continue working on this today, seems like CI is really against this change.. If someone wants to look into this or has better oppinions, I would love feedback. Somewhere I apparently made a change in the code I pushed during final cleanup (=before my first commit here) 😞 |
This reverts commit d4437f7.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay.. this works now.
It is still a hoooorible hack, but at least it woks
Best to skip recursion when we can let a well known crate do the work for us
for more information, see https://pre-commit.ci
thx, i refactored the build script a bit further, trying to simplify it (not much luck), plus made sure not to use results - with build, its ok to crash asap as it gives us good debugging context. When we build with the npm packaging command, where does the generated file end up in? I only see If everything is ok, lets merge |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me
Could be merged as is, asssuming rerun-if-changed
is correct ^^
Co-authored-by: Frank Elsinga <[email protected]>
thanks! Turns out I shouldn't code at night - didn't notice the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I think we can remove the TODO though
"the martin-ui/dist must either not exist or have been produced by previous builds" | ||
); | ||
|
||
// TODO: we may need to move index.html one level down per change_detection() docs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you clairify what you mean here?
When I rebuild, this should be reproducible enough to depend on the input files and not on the output file..
As far as I see it, this is a non-issue..
// TODO: we may need to move index.html one level down per change_detection() docs |
Thanks @CommanderStorm for tackling this one! Messy, but it seems like it works now :) This is why i put that todo (which we might want to remove later): |
Seems we still have a packaging issue - npm saves files outside the build dir.
Fixes #1667
See prior partial fix in #1668