Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

Makefile 484 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
  1. .PHONY: tests docs
  2. deps:
  3. @echo "Initializing Git..."
  4. git init
  5. {% if cookiecutter.dependency_manager == "poetry" %}
  6. @echo "Installing dependencies..."
  7. poetry install --no-root
  8. poetry run pre-commit install
  9. {% else %}
  10. @echo "Installing dependencies..."
  11. pip install -r requirements-dev.txt
  12. pre-commit install
  13. {% endif %}
  14. tests:
  15. pytest
  16. docs:
  17. @echo Save documentation to docs...
  18. pdoc src -o docs --force
  19. @echo View API documentation...
  20. pdoc src --http localhost:8080
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...