-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
37 lines (30 loc) · 1.29 KB
/
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
33
34
35
36
37
.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_min_shell_versions_in_ubuntu - run all test for the all minimum supported shell versions 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_min_shell_versions_in_ubuntu
test_min_shell_versions_in_ubuntu:
./tests/test_min_shell_versions_in_ubuntu $(filter-out $@,$(MAKECMDGOALS))
.PHONY: test_performance
test_performance:
./tests/performance/harness $(filter-out $@,$(MAKECMDGOALS))