-
Notifications
You must be signed in to change notification settings - Fork 8
/
justfile
73 lines (56 loc) · 1.09 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
# justfile
# load environment variables
set dotenv-load
# variables
package := "ibis-analytics"
# aliases
alias fmt:=format
alias render:=docs-build
alias preview:=docs-preview
# list justfile recipes
default:
just --list
# build
build:
just clean-dist
@python -m build
# setup
setup:
@uv venv
@. .venv/bin/activate
@uv pip install --upgrade --resolution=highest -r dev-requirements.txt
# install
install:
@uv pip install -r dev-requirements.txt
# uninstall
uninstall:
@pip uninstall -y {{package}}
# format
format:
@ruff format .
# publish-test
release-test:
just build
@twine upload --repository testpypi dist/* -u __token__ -p ${PYPI_TEST_TOKEN}
# publish
release:
just build
@twine upload dist/* -u __token__ -p ${PYPI_TOKEN}
# clean dist
clean-dist:
@rm -rf dist
# docs-build
docs-build:
@quarto render website
# docs-preview
docs-preview:
@quarto preview website
# open
open:
@open https://ibis-project.github.io/ibis-analytics
# run
run:
@gh workflow run etl.yaml
# run-docs
run-docs:
@gh workflow run etl-docs.yaml