forked from KSPModdingLibs/KSPBuildTools
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
22 lines (17 loc) · 647 Bytes
/
justfile
File metadata and controls
22 lines (17 loc) · 647 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
set shell := ['bash', '-c']
yaclog := "uv tool run yaclog@1.6.2"
sphinx := "uv run --project docs -m sphinx"
sphinx_autobuild := "uv run --with sphinx-autobuild --project docs sphinx-autobuild"
pin-workflows tag:
sd '(uses: KSPModdingLibs/KSPBuildTools/\.github/actions/\S+@)\S+$' '${1}{{ tag }}' .github/workflows/*.yml
release *args:
{{ yaclog }} release {{ args }}
@just pin-workflows $({{ yaclog }} show --version)
git add .github/workflows/*.yml
{{ yaclog }} release -c
docs:
{{ sphinx }} docs/ docs/_build
livedocs:
{{ sphinx_autobuild }} docs/ docs/_build \
--ignore docs/_build \
--watch ".github"