mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-20 12:45:05 +00:00
Compare commits
10 Commits
v7.7.0-rc.
...
v0.4.13
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
300975f49c | ||
|
|
325cf56457 | ||
|
|
71b1320aa8 | ||
|
|
c5abc87dbd | ||
|
|
bd7ab593d5 | ||
|
|
c93da3f6b2 | ||
|
|
8b90e98696 | ||
|
|
bc40ec8a5a | ||
|
|
f19cbccdd5 | ||
|
|
f25ae914e4 |
@@ -3,6 +3,13 @@
|
|||||||
## Current master
|
## Current master
|
||||||
* *No changes*
|
* *No changes*
|
||||||
|
|
||||||
|
## 0.4.13 (November 12, 2018)
|
||||||
|
* When `rojo.json` points to a file or directory that does not exist, Rojo now issues a warning instead of throwing an error and exiting
|
||||||
|
|
||||||
|
## 0.4.12 (June 21, 2018)
|
||||||
|
* Fixed obscure assertion failure when renaming or deleting files ([#78](https://github.com/LPGhatguy/rojo/issues/78))
|
||||||
|
* Added a `PluginAction` for the sync in command, which should help with some automation scripts ([#80](https://github.com/LPGhatguy/rojo/pull/80))
|
||||||
|
|
||||||
## 0.4.11 (June 10, 2018)
|
## 0.4.11 (June 10, 2018)
|
||||||
* Defensively insert existing instances into RouteMap; should fix most duplication cases when syncing into existing trees.
|
* Defensively insert existing instances into RouteMap; should fix most duplication cases when syncing into existing trees.
|
||||||
* Fixed incorrect synchronization from `Plugin:_pull` that would cause polling to create issues
|
* Fixed incorrect synchronization from `Plugin:_pull` that would cause polling to create issues
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
<a href="https://travis-ci.org/LPGhatguy/rojo">
|
<a href="https://travis-ci.org/LPGhatguy/rojo">
|
||||||
<img src="https://api.travis-ci.org/LPGhatguy/rojo.svg?branch=master" alt="Travis-CI Build Status" />
|
<img src="https://api.travis-ci.org/LPGhatguy/rojo.svg?branch=master" alt="Travis-CI Build Status" />
|
||||||
</a>
|
</a>
|
||||||
<img src="https://img.shields.io/badge/latest_version-0.4.11-brightgreen.svg" alt="Current server version" />
|
<img src="https://img.shields.io/badge/latest_version-0.4.13-brightgreen.svg" alt="Current server version" />
|
||||||
<a href="https://lpghatguy.github.io/rojo">
|
<a href="https://lpghatguy.github.io/rojo">
|
||||||
<img src="https://img.shields.io/badge/documentation-website-brightgreen.svg" alt="Rojo Documentation" />
|
<img src="https://img.shields.io/badge/documentation-website-brightgreen.svg" alt="Rojo Documentation" />
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
return {
|
return {
|
||||||
pollingRate = 0.2,
|
pollingRate = 0.3,
|
||||||
version = {0, 4, 11},
|
version = {0, 4, 13},
|
||||||
expectedServerVersionString = "0.4.x",
|
expectedServerVersionString = "0.4.x",
|
||||||
protocolVersion = 1,
|
protocolVersion = 1,
|
||||||
icons = {
|
icons = {
|
||||||
|
|||||||
@@ -55,15 +55,20 @@ local function main()
|
|||||||
end)
|
end)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
toolbar:CreateButton("Sync In", "Sync into Roblox Studio", Config.icons.syncIn)
|
local function syncIn()
|
||||||
.Click:Connect(function()
|
checkUpgrade()
|
||||||
checkUpgrade()
|
|
||||||
|
|
||||||
pluginInstance:syncIn()
|
pluginInstance:syncIn()
|
||||||
:catch(function(err)
|
:catch(function(err)
|
||||||
warn(err)
|
warn(err)
|
||||||
end)
|
end)
|
||||||
end)
|
end
|
||||||
|
|
||||||
|
local shortDescription = "Sync In"
|
||||||
|
local longDescription = "Sync into Roblox Studio"
|
||||||
|
|
||||||
|
toolbar:CreateButton(shortDescription, longDescription, Config.icons.syncIn).Click:Connect(syncIn)
|
||||||
|
plugin:CreatePluginAction("RojoSyncIn", shortDescription, longDescription).Triggered:Connect(syncIn)
|
||||||
|
|
||||||
toolbar:CreateButton("Toggle Polling", "Poll server for changes", Config.icons.togglePolling)
|
toolbar:CreateButton("Toggle Polling", "Poll server for changes", Config.icons.togglePolling)
|
||||||
.Click:Connect(function()
|
.Click:Connect(function()
|
||||||
|
|||||||
@@ -170,6 +170,8 @@ function Reconciler:reconcile(rbx, item)
|
|||||||
-- Item was deleted
|
-- Item was deleted
|
||||||
if item == nil then
|
if item == nil then
|
||||||
if rbx ~= nil then
|
if rbx ~= nil then
|
||||||
|
-- TODO: If this is a partition root, should we leave it alone?
|
||||||
|
|
||||||
self._routeMap:removeByRbx(rbx)
|
self._routeMap:removeByRbx(rbx)
|
||||||
rbx:Destroy()
|
rbx:Destroy()
|
||||||
end
|
end
|
||||||
@@ -240,7 +242,9 @@ function Reconciler:reconcileRoute(rbxRoute, item, fileRoute)
|
|||||||
|
|
||||||
rbx = self:reconcile(rbx, item)
|
rbx = self:reconcile(rbx, item)
|
||||||
|
|
||||||
reparent(rbx, parent)
|
if rbx ~= nil then
|
||||||
|
reparent(rbx, parent)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
return Reconciler
|
return Reconciler
|
||||||
|
|||||||
2
server/Cargo.lock
generated
2
server/Cargo.lock
generated
@@ -636,7 +636,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "rojo"
|
name = "rojo"
|
||||||
version = "0.4.11"
|
version = "0.4.13"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"clap 2.31.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"clap 2.31.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"lazy_static 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"lazy_static 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "rojo"
|
name = "rojo"
|
||||||
version = "0.4.11"
|
version = "0.4.13"
|
||||||
authors = ["Lucien Greathouse <me@lpghatguy.com>"]
|
authors = ["Lucien Greathouse <me@lpghatguy.com>"]
|
||||||
description = "A tool to create robust Roblox projects"
|
description = "A tool to create robust Roblox projects"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|||||||
@@ -83,7 +83,8 @@ impl VfsWatcher {
|
|||||||
match watcher.watch(&root_path, RecursiveMode::Recursive) {
|
match watcher.watch(&root_path, RecursiveMode::Recursive) {
|
||||||
Ok(_) => (),
|
Ok(_) => (),
|
||||||
Err(_) => {
|
Err(_) => {
|
||||||
panic!("Unable to watch partition {}, with path {}! Make sure that it's a file or directory.", partition_name, root_path.display());
|
eprintln!("WARNING: Unable to watch partition {}, with path {}\nMake sure that it's a file or directory.", partition_name, root_path.display());
|
||||||
|
continue;
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -9,6 +9,10 @@
|
|||||||
"extra": {
|
"extra": {
|
||||||
"path": "extra-script.lua",
|
"path": "extra-script.lua",
|
||||||
"target": "ReplicatedStorage.ExtraScript"
|
"target": "ReplicatedStorage.ExtraScript"
|
||||||
|
},
|
||||||
|
"does-not-exist": {
|
||||||
|
"path": "hahah",
|
||||||
|
"target": "ReplicatedStorage.Never"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user