mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 05:51:39 +00:00
Refactor CI pipeline scripts and documentation
- Consolidated CI pipeline steps into PowerShell and Bash scripts for improved usability and consistency. - Updated documentation in `ci.md` to clarify the execution process and options for skipping the rbx-dom section. - Enhanced error handling and reporting in the scripts to provide clearer feedback on CI step results. - Streamlined formatting and linting processes for both Rojo and rbx-dom, ensuring a more efficient CI workflow.
This commit is contained in:
parent
9688224cb4
commit
f496bee347
8 changed files with 473 additions and 193 deletions
|
|
@ -296,11 +296,7 @@ impl JobThreadContext {
|
|||
match crate::json::to_vec_pretty_sorted(&serde_json::Value::Object(obj)) {
|
||||
Ok(content) => {
|
||||
if let Err(err) = fs::write(meta_path, &content) {
|
||||
log::error!(
|
||||
"Failed to write meta file {}: {}",
|
||||
meta_path.display(),
|
||||
err
|
||||
);
|
||||
log::error!("Failed to write meta file {}: {}", meta_path.display(), err);
|
||||
}
|
||||
}
|
||||
Err(err) => {
|
||||
|
|
@ -773,8 +769,8 @@ impl JobThreadContext {
|
|||
self.unsuppress_path(&new_meta);
|
||||
}
|
||||
}
|
||||
let init_meta = new_dir_path
|
||||
.join("init.meta.json5");
|
||||
let init_meta =
|
||||
new_dir_path.join("init.meta.json5");
|
||||
if slugified_new_name != *new_name {
|
||||
// New name needs slugification — write name field
|
||||
self.upsert_meta_name_field(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue