-
Notifications
You must be signed in to change notification settings - Fork 22
Conversation
build.rs
Outdated
path: String::from(entry.path().to_str().unwrap()).replace("\\", "/"), | ||
}); | ||
let whitelist = vec![ | ||
"assets/*", |
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.
will this include subfolders?
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.
This particular pattern will not. If we write it as assets/**
it will include subfolders. The glob pattern syntax is here.
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.
Ok, I think that we should include subfolders as well.
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.
fixed
@hjr3 looks like the tests are failing due to not being able to find files. I think you need to prepend "frontend/" to each of those paths in the whitelist. |
I believe this is ready to go. The build is still failing due to upstream issues. Let me know if there is something else I should do. |
The build should pass with a rebase. |
build.rs would add every file in frontend/dist to asset.in. This would cause hard to debug errors when files were unintentionally placed in frontend/dist. Fixes steveklabnik#58
@euclio indeed it does now! |
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.
Thanks a ton!
build.rs would add every file in frontend/dist to asset.in. This would
cause hard to debug errors when files were unintentionally placed in
frontend/dist.
Fixes #58