mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-25 15:16:07 +00:00
Clean up repo cruft
This commit is contained in:
4
Cargo.lock
generated
4
Cargo.lock
generated
@@ -1300,10 +1300,6 @@ dependencies = [
|
|||||||
"walkdir 2.2.7 (registry+https://github.com/rust-lang/crates.io-index)",
|
"walkdir 2.2.7 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "rojo-e2e"
|
|
||||||
version = "0.1.0"
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "rustc-demangle"
|
name = "rustc-demangle"
|
||||||
version = "0.1.14"
|
version = "0.1.14"
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
[workspace]
|
[workspace]
|
||||||
members = [
|
members = [
|
||||||
"server",
|
"server",
|
||||||
"rojo-e2e",
|
|
||||||
]
|
]
|
||||||
39
design.gv
39
design.gv
@@ -1,39 +0,0 @@
|
|||||||
digraph G {
|
|
||||||
graph [
|
|
||||||
ranksep = "0.7",
|
|
||||||
nodesep = "1.0",
|
|
||||||
];
|
|
||||||
node [
|
|
||||||
fontname = "Hack",
|
|
||||||
shape = "record",
|
|
||||||
];
|
|
||||||
|
|
||||||
roblox_studio -> plugin [dir = "both"];
|
|
||||||
plugin -> web_server [style = "dashed", dir = "both"];
|
|
||||||
|
|
||||||
web_server -> session;
|
|
||||||
|
|
||||||
session -> rbx_session;
|
|
||||||
session -> fs_watcher;
|
|
||||||
session -> message_queue;
|
|
||||||
|
|
||||||
fs_watcher -> imfs [weight = "10"];
|
|
||||||
fs_watcher -> rbx_session [constraint = "false"];
|
|
||||||
|
|
||||||
imfs -> fs;
|
|
||||||
|
|
||||||
rbx_session -> imfs;
|
|
||||||
rbx_session -> middlewares [weight = "10"];
|
|
||||||
rbx_session -> message_queue [constraint = "false"];
|
|
||||||
|
|
||||||
plugin [label = "Studio Plugin"];
|
|
||||||
roblox_studio [label = "Roblox Studio"];
|
|
||||||
fs [label = "Filesystem"];
|
|
||||||
fs_watcher [label = "Filesystem Watcher"];
|
|
||||||
session [label = "Session"];
|
|
||||||
web_server [label = "Web API"];
|
|
||||||
imfs [label = "In-Memory Filesystem"];
|
|
||||||
rbx_session [label = "RbxSession"];
|
|
||||||
message_queue [label = "MessageQueue"];
|
|
||||||
middlewares [label = "Middlewares"];
|
|
||||||
}
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
[package]
|
|
||||||
name = "rojo-e2e"
|
|
||||||
version = "0.1.0"
|
|
||||||
authors = ["Lucien Greathouse <me@lpghatguy.com>"]
|
|
||||||
|
|
||||||
[dependencies]
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
# Rojo End-to-End
|
|
||||||
This is a WIP test runner designed for Rojo. It will eventually start up the Rojo server and plugin and test functionality end-to-end.
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
use std::{
|
|
||||||
path::Path,
|
|
||||||
process::Command,
|
|
||||||
thread,
|
|
||||||
time::Duration,
|
|
||||||
};
|
|
||||||
|
|
||||||
fn main() {
|
|
||||||
let plugin_path = Path::new("../plugin");
|
|
||||||
let server_path = Path::new("../server");
|
|
||||||
let tests_path = Path::new("../tests");
|
|
||||||
|
|
||||||
let server = Command::new("cargo")
|
|
||||||
.args(&["run", "--", "serve", "../test-projects/empty"])
|
|
||||||
.current_dir(server_path)
|
|
||||||
.spawn();
|
|
||||||
|
|
||||||
thread::sleep(Duration::from_millis(1000));
|
|
||||||
|
|
||||||
// TODO: Wait for server to start responding on the right port
|
|
||||||
|
|
||||||
let test_client = Command::new("lua")
|
|
||||||
.args(&["runTest.lua", "tests/empty.lua"])
|
|
||||||
.current_dir(plugin_path)
|
|
||||||
.spawn();
|
|
||||||
|
|
||||||
thread::sleep(Duration::from_millis(300));
|
|
||||||
|
|
||||||
// TODO: Collect output from the client for success/failure?
|
|
||||||
|
|
||||||
println!("Dying!");
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user