-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
32 lines (26 loc) · 961 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
.PHONY: help
help:
@echo 'lint - run linters and code format checkers'
@echo 'test - run all the tests for all the supported shells'
@echo 'test_zsh - run all the tests for Zsh'
@echo 'test_bash - run all the tests for Bash'
@echo 'test_all_in_ubuntu - run all the tests for all the supported shells in Ubuntu'
@echo 'test_performance - run a benchmark test for all the supported shells'
.PHONY: lint
lint:
./bin/shellcheck $(filter-out $@,$(MAKECMDGOALS))
.PHONY: test
test:
./tests/test_all $(filter-out $@,$(MAKECMDGOALS))
.PHONY: test_zsh
test_zsh:
./tests/test_zsh $(filter-out $@,$(MAKECMDGOALS))
.PHONY: test_bash
test_bash:
./tests/test_bash $(filter-out $@,$(MAKECMDGOALS))
.PHONY: test_all_in_ubuntu
test_all_in_ubuntu:
./tests/test_all_in_ubuntu $(filter-out $@,$(MAKECMDGOALS))
.PHONY: test_performance
test_performance:
./tests/performance_harness $(filter-out $@,$(MAKECMDGOALS))