mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2024-12-28 15:14:51 +08:00
Add separate test task for RSpec
This commit is contained in:
parent
c22ab0e399
commit
4850119887
11
Makefile
11
Makefile
|
@ -22,7 +22,7 @@ PLUGIN_TARGET := zsh-autosuggestions.zsh
|
||||||
SHUNIT2 := $(VENDOR_DIR)/shunit2/2.1.6
|
SHUNIT2 := $(VENDOR_DIR)/shunit2/2.1.6
|
||||||
STUB_SH := $(VENDOR_DIR)/stub.sh/stub.sh
|
STUB_SH := $(VENDOR_DIR)/stub.sh/stub.sh
|
||||||
|
|
||||||
TEST_PREREQS := \
|
UNIT_TEST_PREREQS := \
|
||||||
$(SHUNIT2) \
|
$(SHUNIT2) \
|
||||||
$(STUB_SH)
|
$(STUB_SH)
|
||||||
|
|
||||||
|
@ -43,5 +43,10 @@ clean:
|
||||||
rm $(PLUGIN_TARGET)
|
rm $(PLUGIN_TARGET)
|
||||||
|
|
||||||
.PHONY: test
|
.PHONY: test
|
||||||
test: all $(TEST_PREREQS)
|
test: rspec unit_test
|
||||||
script/test_runner.zsh $(TESTS)
|
|
||||||
|
unit_test: all $(UNIT_TEST_PREREQS)
|
||||||
|
script/test_runner.zsh $(UNIT_TESTS)
|
||||||
|
|
||||||
|
rspec: all
|
||||||
|
bundle exec rspec $(RSPEC_TESTS)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user