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

Implement new project file name, default.project.json #120

Merged
merged 4 commits into from
Feb 2, 2019

Conversation

LPGhatguy
Copy link
Contributor

Closes #118.

Changes the default project file name from roblox-project.json to default.project.json. This opens the door to have other project file names while still allowing Rojo to differentiate project files from random JSON files.

Introduces a simple project compatibility mechanism so that the old default project file name (roblox-project.json) is still supported, but users will be warned to upgrade.

@coveralls
Copy link

coveralls commented Feb 1, 2019

Coverage Status

Coverage remained the same at 80.952% when pulling 44325bb on new-project-file-name into 78a1947 on master.

Copy link
Contributor

@ZoteTheMighty ZoteTheMighty left a comment

Choose a reason for hiding this comment

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

Looks good, only had a comment about a minor messaging typo. Also, maybe place.project.json could have a more specific name? plugin-place.project.json?

warn!("Rename your project file to {}", PROJECT_FILENAME);
} else if !file_name.ends_with(".project.json") {
warn!("Starting in Rojo 0.5.0-alpha3, it's recommended to give all project files the");
warn!(".project.json extension. This helps Rojo differentiate project file from");
Copy link
Contributor

Choose a reason for hiding this comment

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

"...helps Rojo differentiate project files from"

@LPGhatguy
Copy link
Contributor Author

I think it's okay to keep the plugin place project name relatively unspecific because it's already in the plugin folder.

@LPGhatguy LPGhatguy merged commit 785bdb8 into master Feb 2, 2019
@LPGhatguy LPGhatguy deleted the new-project-file-name branch February 2, 2019 01:06
Dekkonot pushed a commit to UpliftGames/rojo that referenced this pull request Jan 11, 2024
* Implement new project file name, default.project.json

* Rename all test projects to default.project.json

* Update CHANGELOG

* Fix warning message typo
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.

3 participants