Skip to content

Commit 2c06b7e

Browse files
committed
I hate Makefiles
1 parent 9956b3d commit 2c06b7e

1 file changed

Lines changed: 22 additions & 11 deletions

File tree

Makefile

Lines changed: 22 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,32 @@
11
CONTAINER_NAME := "splunk"
22

33
.PHONY: venv-sync
4-
sync-venv: uv sync --all-extras --no-config
4+
venv-sync:
5+
@uv sync --all-extras --no-config
56

67
.PHONY: venv-upgrade
7-
sync-venv: uv sync --all-extras --no-config --upgrade
8+
venv-upgrade:
9+
@uv sync --all-extras --no-config --upgrade
810

911
.PHONY: docs
10-
docs: make -C ./docs html
12+
docs:
13+
@make -C ./docs html
1114

1215
.PHONY: test
13-
test: python -m pytest ./tests
16+
test:
17+
@python -m pytest ./tests
1418

1519
.PHONY: test-unit
16-
test-unit: python -m pytest ./tests/unit
20+
test-unit:
21+
@python -m pytest ./tests/unit
1722

1823
.PHONY: test-integration
19-
test-integration: python -m pytest ./tests/integration ./tests/system
24+
test-integration:
25+
@python -m pytest ./tests/integration ./tests/system
2026

2127
.PHONY: docker-up
22-
docker-up: docker-compose up -d
28+
docker-up:
29+
@docker-compose up -d
2330

2431
.PHONY: docker-ensure-up
2532
docker-ensure-up:
@@ -32,16 +39,20 @@ docker-ensure-up:
3239
done
3340

3441
.PHONY: docker-start
35-
docker-start: docker-up docker-ensure-up
42+
docker-start:
43+
@docker-up docker-ensure-up
3644

3745
.PHONY: docker-down
38-
docker-down: docker-compose stop
46+
docker-down:
47+
@docker-compose stop
3948

4049
.PHONY: docker-restart
4150
docker-restart: docker-down docker-start
4251

4352
.PHONY: docker-remove
44-
docker-remove: docker-compose rm -f -s
53+
docker-remove:
54+
@docker-compose rm -f -s
4555

4656
.PHONY: docker-refresh
47-
docker-refresh: docker-remove docker-start
57+
docker-refresh:
58+
@docker-remove docker-start

0 commit comments

Comments
 (0)