forked from rojo-rbx/rojo
- Add new GitFilter struct for tracking files changed since a Git reference - Only sync changed (added/deleted/modified) files to Roblox Studio - Files remain acknowledged once synced, even if content is reverted - Add enhanced logging for debugging sync issues - Force acknowledge project structure to prevent 'Cannot sync a model as a place' errors
43 lines
971 B
Rust
43 lines
971 B
Rust
// Recursion limit bump is to support Ritz, a JSX-like proc macro used for
|
|
// Rojo's web UI currently.
|
|
#![recursion_limit = "1024"]
|
|
|
|
pub mod cli;
|
|
|
|
#[cfg(test)]
|
|
mod tree_view;
|
|
|
|
mod auth_cookie;
|
|
mod change_processor;
|
|
mod git;
|
|
mod glob;
|
|
mod json;
|
|
mod lua_ast;
|
|
mod message_queue;
|
|
mod multimap;
|
|
mod path_serializer;
|
|
mod project;
|
|
mod resolution;
|
|
mod rojo_ref;
|
|
mod serve_session;
|
|
mod session_id;
|
|
mod snapshot;
|
|
mod snapshot_middleware;
|
|
mod syncback;
|
|
mod variant_eq;
|
|
mod web;
|
|
|
|
// TODO: Work out what we should expose publicly
|
|
|
|
pub use git::{GitFilter, SharedGitFilter};
|
|
pub use project::*;
|
|
pub use rojo_ref::*;
|
|
pub use session_id::SessionId;
|
|
pub use snapshot::{
|
|
InstanceContext, InstanceMetadata, InstanceSnapshot, InstanceWithMeta, InstanceWithMetaMut,
|
|
RojoDescendants, RojoTree,
|
|
};
|
|
pub use snapshot_middleware::{snapshot_from_vfs, Middleware, ScriptType};
|
|
pub use syncback::{syncback_loop, FsSnapshot, SyncbackData, SyncbackSnapshot};
|
|
pub use web::interface as web_api;
|