From 5989ab3b8571701a1e19dd8706cdb7279b0b5a8f Mon Sep 17 00:00:00 2001 From: Lucien Greathouse Date: Sat, 16 Jan 2021 15:34:59 -0700 Subject: [PATCH] Add project to test that plugin skips unwritable properties --- test-projects/script-unwritable/README.md | 2 ++ .../script-unwritable/default.project.json | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 test-projects/script-unwritable/README.md create mode 100644 test-projects/script-unwritable/default.project.json diff --git a/test-projects/script-unwritable/README.md b/test-projects/script-unwritable/README.md new file mode 100644 index 00000000..1a256f2b --- /dev/null +++ b/test-projects/script-unwritable/README.md @@ -0,0 +1,2 @@ +# script-unwritable +This project is used to test that Rojo successfully builds places with properties that are unwritable to scripts, but are ignored when the same project is used for live sync. \ No newline at end of file diff --git a/test-projects/script-unwritable/default.project.json b/test-projects/script-unwritable/default.project.json new file mode 100644 index 00000000..e64bfddd --- /dev/null +++ b/test-projects/script-unwritable/default.project.json @@ -0,0 +1,18 @@ +{ + "name": "script-unwritable", + "tree": { + "$className": "DataModel", + + "HttpService": { + "$properties": { + "HttpEnabled": true + } + }, + + "StarterPlayer": { + "$properties": { + "GameSettingsAvatar": "R15" + } + } + } +} \ No newline at end of file