Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

Commit

Permalink
Create darklua configs
Browse files Browse the repository at this point in the history
  • Loading branch information
cxmeel committed Mar 14, 2024
1 parent 36e979d commit 3fce30b
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy Docs
name: deploy-docs

on:
workflow_dispatch:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: auto-format
name: pull-request

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ sourcemap.json
/out
/include
/build
/dist
21 changes: 21 additions & 0 deletions standalone.darklua.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"bundle": {
"require_mode": {
"name": "path",
"sources": {
"@Pkg": "Packages",
"@DevPkg": "DevPackages",
"@Sift": "src"
}
}
},
"rules": [
"compute_expression",
"filter_after_early_return",
"remove_empty_do",
"remove_nil_declaration",
"remove_unused_if_branch",
"remove_unused_while"
],
"generator": "dense"
}
20 changes: 20 additions & 0 deletions wally.darklua.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"process": [
{
"rule": "convert_require",
"current": {
"name": "path",
"sources": {
"@Pkg": "Packages",
"@DevPkg": "DevPackages",
"@Sift": "src"
}
},
"target": {
"name": "roblox",
"rojo_sourcemap": "./sourcemap.json",
"indexing_style": "wait_for_child"
}
}
]
}

0 comments on commit 3fce30b

Please sign in to comment.