Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add makefile #90

Closed
wants to merge 3 commits into from
Closed

Add makefile #90

wants to merge 3 commits into from

Conversation

purpose2do
Copy link

@ -0,0 +1,37 @@
SHELL := /bin/bash

.PHONY: help install dev-install

.DEFAULT_GOAL := help

.SILENT:

help:
@echo "Please use 'make ' where is one of the following:"
@echo " help Return this message with usage instructions."
@echo " install Will install the dependencies and create a virtual environment."
@echo " dev-install Will install the dev dependencies too."

dev-install:create-venv install-dev-dependencies install-pre-commit

install: create-venv install-dependencies farewell

install-dependencies:
@echo "Installing dependencies..." &&
pip install . >> /dev/null

create-venv:
@echo "Creating virtual environment..." &&
python -m venv venv &&
source venv/bin/activate &&
pip install --upgrade pip

install-dev-dependencies:
@echo "Installing dependencies..." &&
source venv/bin/activate &&
pip install -r requirements.txt

install-pre-commit:
@echo "Installing pre-commit hooks..." &&
source venv/bin/activate &&
pre-commit install

patillacode and others added 3 commits June 16, 2023 15:33
…rove the performance of the build process by reducing the number of files that need to be scanned. This will make the build process faster and more efficient.
@jebarpg
Copy link
Contributor

jebarpg commented Jun 17, 2023

It might be worth having a concurrent batch makefile along side this one.

@patillacode
Copy link
Collaborator

I am not sure what those other files are for, closing in favor of #80

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants