1 Star 0 Fork 0

dragon/grug-far.nvim

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Makefile 1.06 KB
一键复制 编辑 原始数据 按行查看 历史
Stephan Badragan 提交于 2024-08-05 10:13 . moving tests around
# Run tests
# use with update_screenshot=true to update the screenshots
# use with dir=... to test a particular dir under tests/
# use with file=... to test a particular file
# use with line=... to target a test at that line in the file
test:
nvim --headless --noplugin -u ./scripts/minimal_init.lua -l ./scripts/test_cli.lua
# launches test version of nvim that has the same plugin configuration as what the tests get
# this is useful sometiemes to check what is going on when child neovim processes just hang without any output
launch-test-nvim:
nvim --noplugin -u ./scripts/test_plugin_config.lua -c GrugFar
# clean / update all screenshots
update-screenshots:
rm -rf tests/screenshots/*
make test
# Download 'mini.nvim' to use its 'mini.test' testing module
prepare:
make clean
@mkdir -p deps
git clone --depth=1 --single-branch https://github.com/echasnovski/mini.nvim deps/mini.nvim
@mkdir -p temp_test_dir
@mkdir -p temp_history_dir
# clean up
clean:
rm -rf deps
rm -rf temp_test_dir
rm -rf temp_history_dir
# lint
lint:
selene lua tests
stylua --check lua tests
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/dragon-teng140806/grug-far.nvim.git
[email protected]:dragon-teng140806/grug-far.nvim.git
dragon-teng140806
grug-far.nvim
grug-far.nvim
main

搜索帮助