Skip to content

Commit edcf1d7

Browse files
committed
Fix #9 - always resync local assets
1 parent 8b702fe commit edcf1d7

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "tarmac"
33
description = "Resource compiler and asset manager for Roblox projects"
4-
version = "0.7.4"
4+
version = "0.7.5"
55
authors = ["Lucien Greathouse <me@lpghatguy.com>", "Jonathan Holmes"]
66
edition = "2018"
77
license = "MIT"

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ The recommended way to install Tarmac is with [Aftman](https://github.com/LPGhat
2020
Add an entry to the `[tools]` section of your `aftman.toml` file:
2121

2222
```toml
23-
tarmac = "rojo-rbx/tarmac@0.7.4"
23+
tarmac = "rojo-rbx/tarmac@0.7.5"
2424
```
2525

2626
### Installing with Foreman
2727

2828
Add an entry to the `[tools]` section of your `foreman.toml` file:
2929

3030
```toml
31-
tarmac = { source = "rojo-rbx/tarmac", version = "0.7.4" }
31+
tarmac = { source = "rojo-rbx/tarmac", version = "0.7.5" }
3232
```
3333

3434

src/commands/sync.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -392,6 +392,12 @@ impl SyncSession {
392392
for name in group {
393393
if let Some(manifest) = self.original_manifest.inputs.get(name) {
394394
let input = &self.inputs[name];
395+
396+
// If a sprite is local, it should be resynced just in case we decide to publish using roblox later...
397+
if input.id.is_none() {
398+
return false;
399+
}
400+
395401
let unchanged = input.is_unchanged_since_last_sync(manifest);
396402

397403
if !unchanged {

0 commit comments

Comments
 (0)