From 5965f5c03c3272d878b41cb495f88040dd21323d Mon Sep 17 00:00:00 2001
From: Moul <moul@moul.re>
Date: Tue, 7 Dec 2021 18:28:36 +0100
Subject: [PATCH] [mod] #165: Delete Makefile

Duplicating direct poetry, pre-commit, and sphinx commands
Used as a memory help, duplicating the maintenance
---
 Makefile | 45 ---------------------------------------------
 1 file changed, 45 deletions(-)
 delete mode 100644 Makefile

diff --git a/Makefile b/Makefile
deleted file mode 100644
index b0adaf6..0000000
--- a/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-.PHONY: docs check check-format mypy pylint format build deploy deploy_test
-.SILENT: deploy deploy_test # do not echo commands with password
-
-# generate documentation
-docs:
-	cd docs && rm duniterpy.*; poetry run sphinx-apidoc -o . ../duniterpy && poetry run make clean && poetry run make html && cd ..
-
-# check
-check: mypy pylint check-format
-
-# check static typing
-mypy:
-	 poetry run mypy duniterpy --ignore-missing-imports
-	 poetry run mypy tests --ignore-missing-imports
-	 poetry run mypy examples --ignore-missing-imports
-
-# check code errors
-pylint:
-	poetry run pylint duniterpy tests examples
-
-# check format
-check-format:
-	black --check duniterpy
-	black --check tests
-	black --check examples
-
-# format code
-format:
-	black duniterpy
-	black tests
-	black examples
-
-# build a wheel package in dist folder
-build:
-	if [ -d "./dist" ]; then rm -r dist/*; fi
-	poetry build
-
-# upload on PyPi repository
-deploy:
-	poetry publish --build --username ${PYPI_LOGIN} --password ${PYPI_PASSWORD} --repository pypi_test
-
-# upload on PyPi test repository
-deploy_test:
-	poetry config repositories.pypi_test https://test.pypi.org/legacy/
-	poetry publish --build --username ${PYPI_TEST_LOGIN} --password ${PYPI_TEST_PASSWORD} --repository pypi_test
-- 
GitLab