mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-22 13:21:38 +00:00
Add support for .meta.json files affecting .csv LocalizationTables
This commit is contained in:
parent
479476561e
commit
2393a1a114
3 changed files with 59 additions and 5 deletions
|
|
@ -9,6 +9,7 @@ metadata:
|
|||
Path: /foo.csv
|
||||
relevant_paths:
|
||||
- /foo.csv
|
||||
- /foo.meta.json
|
||||
name: foo
|
||||
class_name: LocalizationTable
|
||||
properties:
|
||||
|
|
|
|||
19
src/snapshot_middleware/snapshots/test__csv_with_meta.snap
Normal file
19
src/snapshot_middleware/snapshots/test__csv_with_meta.snap
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
source: src/snapshot_middleware/csv.rs
|
||||
expression: instance_snapshot
|
||||
---
|
||||
snapshot_id: ~
|
||||
metadata:
|
||||
ignore_unknown_instances: true
|
||||
instigating_source:
|
||||
Path: /foo.csv
|
||||
relevant_paths:
|
||||
- /foo.csv
|
||||
- /foo.meta.json
|
||||
name: foo
|
||||
class_name: LocalizationTable
|
||||
properties:
|
||||
Contents:
|
||||
Type: String
|
||||
Value: "[{\"key\":\"Ack\",\"example\":\"An exclamation of despair\",\"source\":\"Ack!\",\"values\":{\"es\":\"¡Ay!\"}}]"
|
||||
children: []
|
||||
Loading…
Add table
Add a link
Reference in a new issue