Makefile (view raw)
1# Makefile for bibel tests
2
3.PHONY: all build test quick-test smoke-test clean
4
5all: build test
6
7build:
8 @echo "Building bibel..."
9 @go build -o bibel cmd/bibel.go
10
11test: build
12 @echo "=== Running All Tests ==="
13 @echo "1. Running Go date progression tests..."
14 @go run build/test/test_dates.go
15 @echo "2. Running smoke test..."
16 @./build/test/smoke_test.sh
17
18quick-test:
19 @echo "Running quick test..."
20 @cd build/test && ./quick_test.sh
21
22smoke-test: build
23 @echo "Running smoke test..."
24 @./build/test/smoke_test.sh
25
26date-test:
27 @echo "Running date progression tests..."
28 @go run build/test/test_dates.go
29
30clean:
31 @rm -f bibel
32 @echo "Cleaned up"
33
34help:
35 @echo "Available targets:"
36 @echo " all - Build and run all tests"
37 @echo " build - Build bibel binary"
38 @echo " test - Run all tests (CI + Go + smoke)"
39 @echo " quick-test - Quick functionality check"
40 @echo " smoke-test - Daily smoke test"
41 @echo " date-test - Go date progression tests"
42 @echo " clean - Remove built binary"
43 @echo " help - Show this help"