Update generated neovim config
This commit is contained in:
46
config/neovim/store/lazy-plugins/mini.nvim/Makefile
Normal file
46
config/neovim/store/lazy-plugins/mini.nvim/Makefile
Normal file
@ -0,0 +1,46 @@
|
||||
GROUP_DEPTH ?= 1
|
||||
NVIM_EXEC ?= nvim
|
||||
|
||||
all: test documentation
|
||||
|
||||
test:
|
||||
for nvim_exec in $(NVIM_EXEC); do \
|
||||
printf "\n======\n\n" ; \
|
||||
$$nvim_exec --version | head -n 1 && echo '' ; \
|
||||
$$nvim_exec --headless --noplugin -u ./scripts/minimal_init.lua \
|
||||
-c "lua require('mini.test').setup()" \
|
||||
-c "lua MiniTest.run({ execute = { reporter = MiniTest.gen_reporter.stdout({ group_depth = $(GROUP_DEPTH) }) } })" ; \
|
||||
done
|
||||
|
||||
test_file:
|
||||
for nvim_exec in $(NVIM_EXEC); do \
|
||||
printf "\n======\n\n" ; \
|
||||
$$nvim_exec --version | head -n 1 && echo '' ; \
|
||||
$$nvim_exec --headless --noplugin -u ./scripts/minimal_init.lua \
|
||||
-c "lua require('mini.test').setup()" \
|
||||
-c "lua MiniTest.run_file('$(FILE)', { execute = { reporter = MiniTest.gen_reporter.stdout({ group_depth = $(GROUP_DEPTH) }) } })" ; \
|
||||
done
|
||||
|
||||
documentation:
|
||||
$(NVIM_EXEC) --headless --noplugin -u ./scripts/minimal_init.lua -c "lua require('mini.doc').generate()" -c "qa!"
|
||||
|
||||
lintcommit-ci:
|
||||
export LINTCOMMIT_STRICT=true && chmod u+x scripts/lintcommit-ci.sh && scripts/lintcommit-ci.sh
|
||||
|
||||
basic_setup:
|
||||
$(NVIM_EXEC) --headless --noplugin -u ./scripts/basic-setup_init.lua
|
||||
|
||||
dual_sync:
|
||||
chmod u+x scripts/dual_sync.sh && scripts/dual_sync.sh
|
||||
|
||||
dual_log:
|
||||
chmod u+x scripts/dual_log.sh && scripts/dual_log.sh
|
||||
|
||||
dual_push:
|
||||
chmod u+x scripts/dual_push.sh && scripts/dual_push.sh
|
||||
git branch --force sync
|
||||
git push origin sync
|
||||
rm -r dual/patches
|
||||
|
||||
dual_release:
|
||||
chmod u+x scripts/dual_release.sh && scripts/dual_release.sh "$(TAG_NAME)" "$(TAG_MESSAGE)"
|
||||
Reference in New Issue
Block a user