-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathMakefile
More file actions
53 lines (38 loc) · 1.11 KB
/
Makefile
File metadata and controls
53 lines (38 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
.PHONY: help
help:
@echo ================================================================================
@fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##//'
@echo ================================================================================
.PHONY: lint
lint: ## Lint and fix
@uv run ./dev/lint fix
.PHONY: lint-check
lint-check: ## Lint check only
@uv run ./dev/lint
.PHONY: install-dev
install-dev: ## Install development dependencies
@./dev/install
.PHONY: marimo
marimo: ## Run marimo for editing notebooks
@./dev/marimo edit
.PHONY: docs
docs: ## build documentation
@cp docs/index.md readme.md
@uv run ./dev/build-examples
@uv run mkdocs build
.PHONY: docs-serve
docs-serve: ## serve documentation
@uv run mkdocs serve --livereload --watch quantflow --watch docs
.PHONY: publish
publish: ## Release to pypi
@uv build
@uv publish --token $(PYPI_TOKEN)
.PHONY: tests
tests: ## Unit tests
@./dev/test
.PHONY: outdated
outdated: ## Show outdated packages
uv tree --outdated
.PHONY: upgrade
upgrade: ## Upgrade dependencies
uv lock --upgrade