Skip to content

Commit

Permalink
fix(makefile): Fix Makefile scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
tdfacer committed Jun 5, 2023
1 parent 0ee1c6a commit b092d3b
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,14 @@ all:
run:
nvim --cmd "set rtp+=./" --cmd 'lua require("explain-it").setup()' -o lua/explain-it/init.lua

# runs unit tests
# test:
# nvim --cmd "set rtp+=./" --headless -c 'lua require("explain-it").setup()' -c "PlenaryBustedDirectory lua/tests/"

test:
nvim --version | head -n 1 && echo ''
nvim --headless \
-c "set rtp+=./" \
-c "set rtp+=./deps/nvim-notify" \
-c "set rtp+=./deps/plenary.nvim" \
-c "PlenaryBustedDirectory lua/tests/"
# --noplugin \
# -c 'lua require("explain-it").setup()' \

# runs all the test files.
test-old:
nvim --version | head -n 1 && echo ''
nvim --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 = 1 }) } })"

# installs `mini.nvim`, used for both the tests and documentation.
deps:
Expand Down

0 comments on commit b092d3b

Please sign in to comment.