Update vscode-rojo submodule and add new rokit.toml configuration

- Updated the subproject commit reference for vscode-rojo.
- Introduced a new rokit.toml file with dependencies for atlas, selene, and stylua.
- Refactored upload asset logging for improved readability.
This commit is contained in:
Joe 2026-02-09 22:45:22 -06:00
parent 2803c2d73a
commit 431a8b3073
3 changed files with 11 additions and 8 deletions

View file

@ -0,0 +1,4 @@
[tools]
atlas = "UserGeneratedLLC/rojo@{rojo_version}"
selene = "Kampfkarren/selene@0.30.0"
stylua = "JohnnyMorganz/stylua@2.3.1"

View file

@ -180,8 +180,7 @@ fn do_upload_asset(buffer: Vec<u8>, asset_id: u64, api_key: &str) -> anyhow::Res
let form = multipart::Form::new()
.part(
"request",
multipart::Part::text(request_json)
.mime_str("application/json")?,
multipart::Part::text(request_json).mime_str("application/json")?,
)
.part(
"fileContent",
@ -230,7 +229,10 @@ fn do_upload_asset(buffer: Vec<u8>, asset_id: u64, api_key: &str) -> anyhow::Res
.strip_prefix("operations/")
.unwrap_or(operation_path);
log::info!("Upload accepted, waiting for processing (operation: {})...", operation_id);
log::info!(
"Upload accepted, waiting for processing (operation: {})...",
operation_id
);
let mut retry_delay = std::time::Duration::from_secs(1);
@ -238,10 +240,7 @@ fn do_upload_asset(buffer: Vec<u8>, asset_id: u64, api_key: &str) -> anyhow::Res
std::thread::sleep(retry_delay);
let op_url = format!("{}/operations/{}", ASSETS_API_BASE, operation_id);
let op_response = client
.get(&op_url)
.header("x-api-key", api_key)
.send()?;
let op_response = client.get(&op_url).header("x-api-key", api_key).send()?;
let op_status = op_response.status();
let op_body: Value = op_response

@ -1 +1 @@
Subproject commit 89816a68a5f6b89f330f5722ae3a880dbe9f8c1d
Subproject commit 5e65520996e34467199d1498f3dc3659dcd93485