-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
38 lines (29 loc) · 924 Bytes
/
Makefile
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
37
38
# Author information
AUTHOR := Labriji Saad
# Default target when no arguments are provided to make
.DEFAULT_GOAL := help
# Token and repository configuration
CONFIGURE_REPO = poetry config repositories.test-pypi https://test.pypi.org/legacy/
CONFIGURE_TOKEN = poetry config pypi-token.test-pypi xxx
.PHONY: configure install build publish test help
configure:
@$(CONFIGURE_REPO)
@$(CONFIGURE_TOKEN)
install:
@poetry install
build:
@poetry build
publish:
@poetry publish -r test-pypi
test:
@pytest tests/test_git_clustering.py
# Display help with available make targets
help:
@echo Available targets:
@echo configure - Configure test-pypi repository and token
@echo install - Install dependencies
@echo build - Build the project
@echo publish - Publish to test-pypi
@echo test - Run tests
@echo help - Display this help message
@echo Author: $(AUTHOR)