-
Notifications
You must be signed in to change notification settings - Fork 4
/
justfile
90 lines (70 loc) · 1.45 KB
/
justfile
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# Justfile
# load environment variables
set dotenv-load
# aliases
alias fmt := format
alias pres := presentation
alias plan := planning
alias project := planning
alias marvin-docs := docs-marvin
alias docs-preview := preview
# list justfile recipes
default:
just --list
# ipy
ipy *args:
birdbrain ipy {{ args }}
# install
install:
@uv pip install -e '.'
# setup
setup:
@pip install uv
@uv pip install -r dev-requirements.txt
just install
# build
build:
just clean
@python -m build
# uninstall
uninstall:
@pip uninstall ibis-birdbrain -y
# publish-test
release-test:
just build
@twine upload --repository testpypi dist/* -u __token__ -p ${PYPI_TEST_KEY}
# publish
release:
just build
@twine upload dist/* -u __token__ -p ${PYPI_KEY}
# quarto stuff
preview:
@quarto preview docs
# streamlit stuff
app:
@streamlit run src/ibis_birdbrain/app.py
# format
format:
ruff format .
# smoke-test
smoke-test:
black --check .
# clean
clean:
@rm -rf dist || True
@rm -rf *.ddb* || True
@rm -rf data/*.parquet || True
# open docs
docs:
@open https://ibis-project.github.io/ibis-birdbrain/
docs-marvin:
@open https://www.askmarvin.ai/welcome/what_is_marvin/
# open repo
repo:
@open https://github.com/ibis-project/ibis-birdbrain
# presentation
presentation:
@quarto preview presentation/index.qmd
# planning
planning:
@open https://github.com/orgs/ibis-project/projects/2/views/1