-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
44 lines (36 loc) · 923 Bytes
/
Makefile
File metadata and controls
44 lines (36 loc) · 923 Bytes
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
38
39
40
41
42
43
44
# Makefile for bash-ini-parser
.PHONY: clean lint test tests
# Clean generated files
clean:
@echo "Cleaning generated files..."
@echo "Clean complete."
# Lint shell scripts with shellcheck
lint:
@echo "Running shellcheck..."
@chmod +x lint.sh
@./lint.sh || true
@echo "Lint complete."
# Run all tests
test: test-bash test-zsh
@echo "All tests complete."
# Run bash tests
test-bash:
@echo "Running Bash tests..."
@chmod +x run_tests.sh
@./run_tests.sh
@echo "Bash tests complete."
# Run zsh tests
test-zsh:
@echo "Running Zsh tests..."
@chmod +x run_tests_zsh.sh
@./run_tests_zsh.sh
@echo "Zsh tests complete."
# Alias for test
tests: test
help:
@echo "Available targets:"
@echo " clean - Remove generated files"
@echo " lint - Check shell scripts with shellcheck"
@echo " test - Run all tests"
@echo " tests - Alias for test (run all tests)"
@echo " help - Show this help message"