mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-21 12:01:38 +00:00
Add a new syncRules field project files to allow users to specify middleware to use for files (#813)
This commit is contained in:
parent
c0a96e3811
commit
73828af715
48 changed files with 923 additions and 146 deletions
30
rojo-test/build-tests/sync_rule_complex/default.project.json
Normal file
30
rojo-test/build-tests/sync_rule_complex/default.project.json
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{
|
||||
"name": "sync_rule_complex",
|
||||
"tree": {
|
||||
"$path": "src"
|
||||
},
|
||||
"syncRules": [
|
||||
{
|
||||
"pattern": "*.module",
|
||||
"use": "moduleScript"
|
||||
},
|
||||
{
|
||||
"pattern": "*.server",
|
||||
"use": "serverScript"
|
||||
},
|
||||
{
|
||||
"pattern": "*.client",
|
||||
"use": "clientScript"
|
||||
},
|
||||
{
|
||||
"pattern": "*.rojo",
|
||||
"exclude": "*.ignore.rojo",
|
||||
"use": "project"
|
||||
},
|
||||
{
|
||||
"pattern": "*.dog.rojo2",
|
||||
"use": "text",
|
||||
"suffix": ".dog.rojo2"
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue