-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
36 lines (29 loc) · 801 Bytes
/
Makefile
File metadata and controls
36 lines (29 loc) · 801 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
.PHONY: help install install-dev test clean lint format
help:
@echo "ACRCloud CLI - Makefile"
@echo ""
@echo "Available targets:"
@echo " install - Install the CLI tool"
@echo " install-dev - Install in development mode with test dependencies"
@echo " test - Run tests"
@echo " clean - Clean build artifacts"
@echo " lint - Run linting"
@echo " format - Format code with black"
install:
pip install -e .
install-dev:
pip install -e ".[dev]"
test:
python -m unittest discover tests -v
clean:
rm -rf build/
rm -rf dist/
rm -rf *.egg-info/
rm -rf __pycache__/
rm -rf .pytest_cache/
find . -type d -name __pycache__ -exec rm -rf {} +
find . -type f -name "*.pyc" -delete
lint:
flake8 acrcloud_cli tests
format:
black acrcloud_cli tests