This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
myth_name="$1" | |
codegen_path="Codegen/Tags.cs" | |
codegen_contents=$(<$codegen_path) # the contents of the codegen script | |
# Regular expression to match lines containing "public static readonly string". | |
codegen_regex="public static readonly string[[:space:]]+[[:alnum:]_]+[[:space:]]*=[[:space:]]*\"([^\"]+)\";" | |
# Array to hold the extracted string values. | |
declare -a tags_array |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--!nocheck | |
export type BenchmarkProfiler = { | |
Begin: (label: string) -> (), | |
End: () -> (), | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--!strict | |
-- Run this in command line after you import the meshes | |
-- Services | |
-- Packages | |
-- Modules | |
-- Types | |
-- Constants | |
local SEPARATION = 1 | |
local MAX_X_OFFSET = 50 | |
-- Variables |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--!strict | |
--[[ | |
MIT License | |
Copyright (c) 2021 EgoMoose + 2023 Nightcycle | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export type Expectation = { | |
to: Expectation, | |
be: Expectation, | |
been: Expectation, | |
have: Expectation, | |
was: Expectation, | |
at: Expectation, | |
a: (typeName: string?) -> Expectation, | |
an: (typeName: string?) -> Expectation, | |
ok: () -> Expectation, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--!nocheck | |
declare class RemodelInstance | |
Name: string | |
ClassName: string | |
Parent: RemodelInstance | |
function Destroy(self): () | |
function Clone(self): RemodelInstance | |
function GetChildren(self): { RemodelInstance } | |
function GetDescendants(self): { RemodelInstance } | |
function FindFirstChild(self, name: string): RemodelInstance? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is for general Luau functionality. | |
# Valid: math.sign(), bit32.countlz() | |
# Invalid (put in selene-lib/default_std/roblox_base.yml instead): CFrame.new(), Instance.new(), task.spawn() | |
--- | |
base: lints/lua51 | |
globals: | |
bit32.arshift: | |
args: | |
- type: number | |
- type: number |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
globals: | |
_G: | |
property: new-fields | |
_VERSION: | |
property: read-only | |
arg: | |
property: new-fields | |
assert: | |
args: |