-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from YaroSpace/develop
Release 1.2.0
- Loading branch information
Showing
27 changed files
with
2,097 additions
and
1,002 deletions.
There are no files selected for viewing
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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name: Documentation | |
on: | ||
push: | ||
branches: | ||
- develop | ||
- main | ||
|
||
jobs: | ||
documentation: | ||
|
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,36 @@ | ||
.PHONY: api_documentation llscheck luacheck stylua test | ||
set_lua_paths = eval $$(luarocks path --lua-version 5.1 --bin) | ||
busted = $$(find /usr/local/lib/luarocks/*/busted/* -name busted) | ||
|
||
test_unit = busted --run=unit | ||
test_nvim = nvim --headless -i NONE -n -u spec/minimal_init.lua -l $(busted) --run=unit | ||
|
||
tag ?= wip | ||
watch = '*.lua' | ||
|
||
.PHONY: api_documentation luacheck stylua test | ||
|
||
all: test luacheck stylua | ||
|
||
api_documentation: | ||
nvim -u scripts/make_api_documentation/minimal_init.lua -l scripts/make_api_documentation/main.lua | ||
nvim -u scripts/make_api_documentation/init.lua -l scripts/make_api_documentation/main.lua | ||
|
||
llscheck: | ||
llscheck --configpath .luarc.json . | ||
|
||
luacheck: | ||
luacheck lua spec # plugin scripts | ||
luacheck lua spec scripts | ||
|
||
stylua: | ||
stylua lua plugin scripts spec | ||
stylua --check lua scripts spec | ||
|
||
test: | ||
eval $(luarocks path --lua-version 5.1 --bin) | ||
busted -o spec/utfTerminal.lua --run unit | ||
@$(set_lua_paths); $(test_unit) | ||
|
||
watch: | ||
while sleep 0.1; do ls -d spec/**/*.lua | entr -d -c busted -o spec/utfTerminal.lua --run unit; done | ||
@$(set_lua_paths); while sleep 0.1; do find . -name $(watch) | entr -d -c $(test_unit); done | ||
|
||
watch_tag: | ||
@$(set_lua_paths); while sleep 0.1; do find . -name $(watch) | entr -d -c $(test_unit) --tags=$(tag); done | ||
|
||
watch_current: | ||
while sleep 0.1; do ls -d spec/**/*.lua | entr -d -c busted -o spec/utfTerminal.lua --run unit -t=current; done | ||
test_nvim: | ||
@$(test_nvim) spec/unit |
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
return { | ||
"yarospace/lua-console.nvim", | ||
'yarospace/lua-console.nvim', | ||
lazy = true, | ||
keys = "`", | ||
keys = '`', | ||
opts = {}, | ||
} |
Oops, something went wrong.