Skip to content

Commit

Permalink
Remove mkdocs, cleanup Makefile, move test (#11)
Browse files Browse the repository at this point in the history
* cleaned up a bit
* various cleanup
* move test
  • Loading branch information
fpgmaas authored Jun 23, 2024
1 parent c593ad4 commit ee7eaaa
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1,771 deletions.
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

0 comments on commit ee7eaaa

Please sign in to comment.