mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-22 21:41:37 +00:00
Implement auto-download feature for syncback command
- Enhanced the `syncback` command to automatically download Roblox place files from the asset delivery API, allowing for zero-argument usage. - Updated `Cargo.toml` to include compression features for `reqwest` and moved `tempfile` to dependencies. - Introduced a new `download` argument in `SyncbackCommand` to specify place IDs for downloading. - Implemented logic to resolve input file paths, prioritizing downloads when necessary. - Added sourcemap generation after successful syncback and refreshed the git index if in a repository. - Updated tests to validate the new download functionality and sourcemap creation.
This commit is contained in:
parent
8fe908740f
commit
2b2ada219e
32 changed files with 1180 additions and 125 deletions
|
|
@ -72,11 +72,16 @@ log = "0.4.29"
|
|||
num_cpus = "1.17.0"
|
||||
opener = "0.5.2"
|
||||
rayon = "1.11.0"
|
||||
rbx_cookie = "0.1.5"
|
||||
reqwest = { version = "0.11.27", default-features = false, features = [
|
||||
"blocking",
|
||||
"json",
|
||||
"rustls-tls",
|
||||
"gzip",
|
||||
"brotli",
|
||||
"deflate",
|
||||
] }
|
||||
tempfile = "3.24.0"
|
||||
ritz = "0.1.0"
|
||||
roblox_install = "1.0.0"
|
||||
serde = { version = "1.0.228", features = ["derive", "rc"] }
|
||||
|
|
@ -121,5 +126,4 @@ paste = "1.0.15"
|
|||
pretty_assertions = "1.4.1"
|
||||
regex = "1"
|
||||
serde_yaml = "0.8.26"
|
||||
tempfile = "3.24.0"
|
||||
walkdir = "2.5.0"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue