-
Notifications
You must be signed in to change notification settings - Fork 105
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
Rename rojo project during upload when wally package name doesn't match #25
Conversation
There are some good changes in this PR! I think that we should shift the titular feature. Instead of validating that the user's |
Sounds like a good idea! I'll change this to modify the |
I don't know about this. For Roact, they probably want to keep the project name as I think we can have an info-level log message, but we shouldn't necessarily push people to change their Rojo projects. |
Sounds good to me. I've now changed this to detect+modify a |
At the moment it is possible to publish a package which has a name differing from a name given in a Rojo default.project.json. This means Rojo will rename the package later on causing problems with linking. This PR aims to mitigate this by preventing users publishing packages with mismatched names and prompting them to rename.
It does so by checking if a default.project.json file exists in the project during publishing, and if it does, asserts the project name matches the package name given in the wally.toml.
This PR also adds: