-
Notifications
You must be signed in to change notification settings - Fork 462
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0d85209
commit 048b145
Showing
3 changed files
with
80 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,46 @@ | ||
# 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: install_poetry clone_repo install_dependencies | ||
|
||
# Install Poetry for dependency management | ||
install_poetry: | ||
pip install -U pip setuptools | ||
pip install poetry | ||
@echo "Poetry installed." | ||
|
||
# Clone the GitHub repository | ||
clone_repo: | ||
git clone https://github.com/filip-michalsky/SalesGPT.git | ||
@echo "Repository cloned." | ||
|
||
# Install project dependencies using Poetry | ||
install_dependencies: | ||
cd SalesGPT && 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 install_poetry clone_repo install_dependencies test clean | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters