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

Remove mkdocs, cleanup Makefile, move test #11

Merged
merged 4 commits into from
Jun 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 5 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,14 @@ build: ## Build wheel file using poetry
@echo "🚀 Creating wheel file"
@poetry build

.PHONY: docs-test
docs-test: ## Test if documentation can be built without warnings or errors
@poetry run mkdocs build -s

.PHONY: docs
docs: ## Build and serve the documentation
@poetry run mkdocs serve

.PHONY: serve
serve: ## Serve API with uvicorn
serve: ## Serve API with uvicorn in development mode
@poetry run uvicorn pypi_scout.api.main:app --reload

.PHONY: frontend
frontend: ## Serve frontend in development mode
@cd frontend; npm run dev

.PHONY: help
help:
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}'
Expand Down
Loading
Loading