-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathMakefile
More file actions
31 lines (25 loc) · 853 Bytes
/
Makefile
File metadata and controls
31 lines (25 loc) · 853 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
.PHONY: test test-mock test-version clean help
# Default target
.DEFAULT_GOAL := help
## help: Display this help message
help:
@echo "Heroku CLI Buildpack - Available Targets:"
@echo ""
@grep -E '^## ' $(MAKEFILE_LIST) | sed 's/^## / /' | column -t -s ':'
## test: Run all tests (mock and version check)
test: test-mock test-version
@echo ""
@echo "✓ All tests completed successfully!"
## test-mock: Run mock tests with local registry fixture (no downloads)
test-mock:
@echo "Running mock tests with local registry fixture..."
@./test/compile_test.sh
## test-version: Run simple version check test
test-version:
@echo "Running version check test..."
@./test/version_test.sh
## clean: Remove temporary test files and artifacts
clean:
@echo "Cleaning up test artifacts..."
@rm -rf /tmp/heroku-buildpack-test-*
@echo "Clean complete!"