27 lines
479 B
Makefile
27 lines
479 B
Makefile
# Makefile for Firehose monorepo
|
|
|
|
.PHONY: check precommit deps compile test format
|
|
|
|
# Common check target that runs all static analysis
|
|
check:
|
|
@echo "Running static analysis..."
|
|
@make -C app MISE_BIN=/home/vscode/.local/bin/mise check
|
|
|
|
# Precommit target for CI/pre-commit hooks
|
|
precommit: check
|
|
|
|
# Sync dependencies
|
|
deps:
|
|
@make -C app deps
|
|
|
|
# Compile the project
|
|
compile:
|
|
@make -C app compile
|
|
|
|
# Run tests
|
|
test:
|
|
@make -C app test
|
|
|
|
# Format code
|
|
format:
|
|
@make -C app format
|