mirror of
https://github.com/littensy/charm.git
synced 2026-10-20 17:51:37 +00:00
* refactor!: create monorepo * chore: prepare release, set up workflows * refactor: rename `modules` to `src` * docs: add docs for all packages * refactor: rename root project file * chore: bump deps * build: rename `lint`, add `pack` script * revert: delete pack script This will not be useful for development.
25 lines
508 B
Bash
25 lines
508 B
Bash
curl -o bin/roblox.d.luau https://raw.githubusercontent.com/JohnnyMorganz/luau-lsp/main/scripts/globalTypes.d.lua
|
|
|
|
rojo sourcemap -o sourcemap.json
|
|
|
|
check() {
|
|
echo "Checking $1"
|
|
|
|
luau-lsp analyze \
|
|
--defs=bin/roblox.d.luau \
|
|
--defs=bin/testez.d.luau \
|
|
--flag:LuauFixIndexerSubtypingOrdering=true \
|
|
--flag:LuauInstantiateInSubtyping=true \
|
|
--sourcemap=sourcemap.json \
|
|
--ignore="**/_Index/**" \
|
|
$1
|
|
|
|
selene $1
|
|
stylua --check $1
|
|
}
|
|
|
|
eslint src
|
|
check src/*/src
|
|
check tests
|
|
|
|
rm bin/roblox.d.luau
|