8000 Remove useless makefile targets (#3604) · mxrcooo/sentry-python@e2aa6a5 · GitHub
[go: up one dir, main page]

Skip to content

Commit e2aa6a5

Browse files
authored
Remove useless makefile targets (getsentry#3604)
1 parent bc87c0d commit e2aa6a5

File tree

1 file changed

+2
-33
lines changed

1 file changed

+2
-33
lines changed

Makefile

Lines changed: 2 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,11 @@ VENV_PATH = .venv
55
help:
66
@echo "Thanks for your interest in the Sentry Python SDK!"
77
@echo
8-
@echo "make lint: Run linters"
9-
@echo "make test: Run basic tests (not testing most integrations)"
10-
@echo "make test-all: Run ALL tests (slow, closest to CI)"
11-
@echo "make format: Run code formatters (destructive)"
8+
@echo "make apidocs: Build the API documentation"
129
@echo "make aws-lambda-layer: Build AWS Lambda layer directory for serverless integration"
1310
@echo
1411
@echo "Also make sure to read ./CONTRIBUTING.md"
12+
@echo
1513
@false
1614

1715
.venv:
@@ -24,42 +22,13 @@ dist: .venv
2422
$(VENV_PATH)/bin/python setup.py sdist bdist_wheel
2523
.PHONY: dist
2624

27-
format: .venv
28-
$(VENV_PATH)/bin/tox -e linters --notest
29-
.tox/linters/bin/black .
30-
.PHONY: format
31-
32-
test: .venv
33-
@$(VENV_PATH)/bin/tox -e py3.12
34-
.PHONY: test
35-
36-
test-all: .venv
37-
@TOXPATH=$(VENV_PATH)/bin/tox sh ./scripts/runtox.sh
38-
.PHONY: test-all
39-
40-
check: lint test
41-
.PHONY: check
42-
43-
lint: .venv
44-
@set -e && $(VENV_PATH)/bin/tox -e linters || ( \
45-
echo "================================"; \
46-
echo "Bad formatting? Run: make format"; \
47-
echo "================================"; \
48-
false)
49-
.PHONY: lint
50-
5125
apidocs: .venv
5226
@$(VENV_PATH)/bin/pip install --editable .
5327
@$(VENV_PATH)/bin/pip install -U -r ./requirements-docs.txt
5428
rm -rf docs/_build
5529
@$(VENV_PATH)/bin/sphinx-build -vv -W -b html docs/ docs/_build
5630
.PHONY: apidocs
5731

58-
apidocs-hotfix: apidocs
59-
@$(VENV_PATH)/bin/pip install ghp-import
60-
@$(VENV_PATH)/bin/ghp-import -pf docs/_build
61-
.PHONY: apidocs-hotfix
62-
6332
aws-lambda-layer: dist
6433
$(VENV_PATH)/bin/pip install -r requirements-aws-lambda-layer.txt
6534
$(VENV_PATH)/bin/python -m scripts.build_aws_lambda_layer

0 commit comments

Comments
 (0)
0