-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathjustfile
41 lines (31 loc) · 1.14 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
# Guidelines for new commands
# - Start with a verb
# - Keep it short (max. 3 words in a command)
# - Group commands by context. Include group name in the command name.
# - Mark things private that are util functions with [private] or _var
# - Don't over-engineer, keep it simple.
# - Don't break existing commands
# - Run just --fmt --unstable after adding new commands
set dotenv-load := true
# ---------------------------------------------------------------------------------------------------------------------
# Private vars
_red := '\033[1;31m'
_cyan := '\033[1;36m'
_green := '\033[1;32m'
_yellow := '\033[1;33m'
_nc := '\033[0m'
# ---------------------------------------------------------------------------------------------------------------------
# Aliases
alias ba := build-all
alias rj := run-jupyter
# ---------------------------------------------------------------------------------------------------------------------
@default:
just --list
[group('build')]
build-all:
uv build --all-packages
[group('utils')]
run-jupyter jupyter_args="":
uv sync
uv run --frozen --with "jupyterlab" \
jupyter lab {{ jupyter_args }}