File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ rawset(_G, "_TEST", true)
2+
13return {
24 _all = {
35 ROOT = { "tests" },
46 pattern = "%.test%.lua$",
57 },
6- }
8+ }
Original file line number Diff line number Diff line change 1+ root = true
2+
3+ [* .{sh,bash,zsh} ]
4+ indent_style = space
5+ indent_size = 2
6+ switch_case_indent = true
7+ space_redirects = true
Original file line number Diff line number Diff line change 1+ {
2+ "package" : " timeutil" ,
3+ "os" : [" linux" ],
4+ "version-files" : []
5+ }
Original file line number Diff line number Diff line change 33 "." : {
44 "release-type" : " simple" ,
55 "initial-version" : " 0.1.0" ,
6- "extra-files" : [" src/timeutil.c " , " types/timeutil.d.lua " ]
6+ "extra-files" : []
77 }
88 }
99}
Original file line number Diff line number Diff line change 88 branches : [main]
99 workflow_dispatch :
1010 inputs :
11- linux :
12- description : " Linux "
11+ test :
12+ description : " Test "
1313 type : boolean
1414 default : true
15- macos :
16- description : " macOS"
17- type : boolean
18- default : true
19- windows :
20- description : " Windows"
21- type : boolean
22- default : true
23- stylua :
24- description : " StyLua"
25- type : boolean
26- default : false
2715 luacheck :
2816 description : " Luacheck"
2917 type : boolean
3624 description : " Markdownlint"
3725 type : boolean
3826 default : false
39- tests :
40- description : " Tests"
41- type : boolean
42- default : false
4327 release-please :
4428 description : " Release Please"
4529 type : boolean
@@ -61,18 +45,13 @@ jobs:
6145 ci :
6246 uses : BlueLua/.github/.github/workflows/ci.yml@main
6347 secrets : inherit
64- # prettier-ignore
6548 with :
66- linux : ${{ inputs.linux || github.event_name != 'workflow_dispatch' }}
67- macos : ${{ inputs.macos || github.event_name != 'workflow_dispatch' }}
68- windows : ${{ inputs.windows || github.event_name != 'workflow_dispatch' }}
49+ test-linux : ${{ github.event_name == 'workflow_dispatch' && inputs.test || true }}
6950
70- tests : ${{ inputs.tests || false }}
71- stylua : ${{ inputs.stylua || false }}
72- luacheck : ${{ inputs.luacheck || false }}
73- markdownlint : ${{ inputs.markdownlint || false }}
51+ luacheck : ${{ inputs.luacheck || false }}
7452 lua-language-server : ${{ inputs.lua-language-server || false }}
53+ markdownlint : ${{ inputs.markdownlint || false }}
7554
76- release-please : ${{ inputs.release-please || false }}
77- publish-dev : ${{ inputs.publish-dev || false }}
55+ release-please : ${{ inputs.release-please || false }}
56+ publish-dev : ${{ inputs.publish-dev || false }}
7857 publish-release : ${{ inputs.publish-release || false }}
Original file line number Diff line number Diff line change 1- build /
2- * .rock
1+ # Compilation Artifacts (C Extensions)
32* .o
3+ * .a
44* .so
5- * .dll
65* .dylib
6+ * .dll
7+ * .lib
8+ build /
9+
10+ # LuaRocks & Package Managers
11+ * .rock
12+
13+ # Editor and OS Specific
14+ .DS_Store
15+ .vscode /
16+ * .swp
Original file line number Diff line number Diff line change 1+ include_files = { " src/**/*.lua" }
2+ exclude_files = { " **/*.d.lua" }
3+ globals = { " _TEST" }
Original file line number Diff line number Diff line change 11{
22 "workspace" : {
33 "library" : [
4- " ~/.local/share/lua/types/busted/library " ,
5- " ~/.local/share/lua/types/luassert/library " ,
4+ " ~/.local/share/lua/types/busted" ,
5+ " ~/.local/share/lua/types/luassert"
66 ]
77 }
88}
Original file line number Diff line number Diff line change 11indent_type = " Spaces"
22indent_width = 2
33column_width = 120
4+ call_parentheses = " Input"
5+ sort_requires.enabled = false
Original file line number Diff line number Diff line change @@ -16,8 +16,10 @@ dependencies = {
1616build = {
1717 type = " builtin" ,
1818 modules = {
19- timeutil = {
20- sources = { " src/timeutil.c" },
19+ [" timeutil" ] = {
20+ sources = {
21+ " src/timeutil.c" ,
22+ },
2123 },
2224 [" timeutil.types/timeutil" ] = " types/timeutil.d.lua" ,
2325 },
You can’t perform that action at this time.
0 commit comments