-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathjustfile
More file actions
35 lines (27 loc) · 978 Bytes
/
Copy pathjustfile
File metadata and controls
35 lines (27 loc) · 978 Bytes
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
# List available recipes
default:
@just --list
# Regenerate every artifact from lokf.yaml, validate the reference bundle, emit RDF
build:
uv run lokf-build
# Remove generated scratch files (committed artifacts like examples/*.nt are left alone)
clean:
rm -f examples/*.bundle.json lokf.context.base.jsonld *.err
# Project a concept file or bundle directory to RDF (Turtle) on stdout
gen-rdf-turtle FILE:
uv run lokf convert --format ttl {{FILE}}
# Run a SPARQL query over a bundle (schema prefixes are preset)
query BUNDLE SPARQL:
uv run lokf query {{BUNDLE}} {{SPARQL}}
# Serve a bundle locally: SPARQL endpoint + live graph explorer
serve BUNDLE:
uv run lokf serve {{BUNDLE}}
# Run the test suite
test:
uv run --group dev pytest
# Serve the Astro docs site locally with live reload (web/)
docs:
cd web && npm install && npm run dev
# Build the Astro docs site exactly as CI does (web/)
docs-build:
cd web && npm ci && npm run build