forked from filip-michalsky/SalesGPT
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
35 lines (28 loc) · 788 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
# Define shell to use
#SHELL := /bin/bash
# Define Python interpreter
#PYTHON_MAC := python3
#PYTHON_WINDOWS := python
# Define virtual environment directory
VENV := env
# Default target executed when no arguments are given to make.
default: test
test: ## run tests with pytest.
@echo "Running tests..."
@pytest --cov=salesgpt --cov-report=term-missing --cov-report=html
@echo "Tests executed."
# Set up the development environment
setup:
pip install -U pip setuptools
pip install poetry
@echo "Poetry installed."
@echo "Installing project dependencies using Poetry."
poetry install
@echo "Dependencies installed."
# Clean up the environment
clean:
@echo "Cleaning up..."
rm -rf $(VENV)
rm -rf SalesGPT
@echo "Environment cleaned up."
.PHONY: default setup test clean