Accept .luau files (#552)

* accept .luau files

* Accept .luau in snapshot creation

* Update versioning and snapshots.

* fix versioning

* Run rustfmt

* Reduce repetition in extension detection

* Tidy build script change

Co-authored-by: Lucien Greathouse <me@lpghatguy.com>
This commit is contained in:
Samuel P
2022-06-29 16:53:10 -06:00
committed by GitHub
parent 8ea41480b7
commit acf7456371
7 changed files with 45 additions and 5 deletions

View File

@@ -82,8 +82,11 @@ pub fn snapshot_dir_no_meta(
// middleware. Should we figure out a way for that function to add
// relevant paths to this middleware?
path.join("init.lua"),
path.join("init.luau"),
path.join("init.server.lua"),
path.join("init.server.luau"),
path.join("init.client.lua"),
path.join("init.client.luau"),
];
let snapshot = InstanceSnapshot::new()