rojo/rojo-test/build-tests
Max d196c5091c
Simplify usage of attributes. (#574)
* Support implicit values for primitive attributes

This commit adds support for strings, numbers, and booleans to be implicitly typed in attribute maps, reducing the redundancy of needing to specify their types.

I also quietly adjusted one of the tests to use a more stable class/property pair. Since SourceAssetId is locked to Roblox, it could potentially disappear at any time.

* Apply formatting.

* Address feedback

* Backwards compatible format usage.

* Axe UnresolvedValueMap in favor of $attributes

Attributes can be defined directly on instances, with support for unambiguous types.

* Adjust test.

* to_string() -> into()

* Made attribute test more concise.

* small cleanup

* Update src/resolution.rs

* Update src/resolution.rs

* Update src/resolution.rs

* Update src/resolution.rs

Co-authored-by: Lucien Greathouse <me@lpghatguy.com>
2022-08-03 20:07:06 -04:00
..
attributes Simplify usage of attributes. (#574) 2022-08-03 20:07:06 -04:00
client_in_folder Add script build tests 2019-08-08 18:30:53 -07:00
client_init Add build tests for init Lua files 2019-08-16 12:50:11 -07:00
csv_bug_145 Port CSV regression tests to insta 2019-08-14 15:50:28 -07:00
csv_bug_147 Port CSV regression tests to insta 2019-08-14 15:50:28 -07:00
csv_in_folder Add CSV snapshot test 2019-08-14 15:34:25 -07:00
deep_nesting Require a Rojo project again (#307) 2020-03-25 17:01:28 -07:00
gitkeep Add end-to-end build tests 2019-08-07 17:41:17 -07:00
ignore_glob_inner Implement glob ignores (#272) 2020-01-08 17:58:37 -08:00
ignore_glob_nested Implement glob ignores (#272) 2020-01-08 17:58:37 -08:00
ignore_glob_spec Implement glob ignores (#272) 2020-01-08 17:58:37 -08:00
infer_service_name Infer class name (#210) 2020-03-29 16:03:15 -07:00
infer_starter_player Infer class name (#210) 2020-03-29 16:03:15 -07:00
init_csv_with_children feature init csv (#594) 2022-07-29 21:45:19 -04:00
init_meta_class_name Add build tests for init.meta.json 2019-10-12 23:54:39 -07:00
init_meta_properties Add build tests for init.meta.json 2019-10-12 23:54:39 -07:00
init_with_children Require a Rojo project again (#307) 2020-03-25 17:01:28 -07:00
issue_546 Defer application of init.meta.json until after init Lua files. (#549) 2022-06-09 21:42:37 -04:00
json_as_lua Implement support for turning .json files into Lua modules (#308) 2020-03-28 00:36:01 -07:00
json_model_in_folder Change JSON model naming behavior. 2019-08-15 14:09:16 -07:00
json_model_legacy_name Change JSON model naming behavior. 2019-08-15 14:09:16 -07:00
module_in_folder Add script build tests 2019-08-08 18:30:53 -07:00
module_init Add build tests for init Lua files 2019-08-16 12:50:11 -07:00
optional Add support for optional paths (#472) 2022-04-19 18:43:47 -04:00
project_composed_default Add tests for current file naming with regards to project name field 2021-11-22 13:22:16 -05:00
project_composed_file Add tests for current file naming with regards to project name field 2021-11-22 13:22:16 -05:00
project_root_name Add tests for current file naming with regards to project name field 2021-11-22 13:22:16 -05:00
rbxm_in_folder Add rbxm build test 2019-08-14 15:07:37 -07:00
rbxmx_in_folder Add basic rbxmx snapshot test 2019-08-10 00:52:16 -07:00
rbxmx_ref Require a Rojo project again (#307) 2020-03-25 17:01:28 -07:00
script_meta_disabled Add end-to-end build test for Script.Disabled via .meta.json 2019-10-08 16:05:15 -07:00
server_in_folder Add script build tests 2019-08-08 18:30:53 -07:00
server_init Add build tests for init Lua files 2019-08-16 12:50:11 -07:00
txt Major Subsystem Rewrite (Reconciler Mk5) (#217) 2019-08-27 15:00:37 -07:00
txt_in_folder Add end-to-end build tests 2019-08-07 17:41:17 -07:00
unresolved_values Add support for CFrame shorthand. Fixes #430. 2021-11-20 17:50:40 -05:00
weldconstraint Promote weldconstraint test project to a build test 2021-11-26 16:36:55 -05:00