-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
43 lines (33 loc) · 890 Bytes
/
Copy pathjustfile
File metadata and controls
43 lines (33 loc) · 890 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
36
37
38
39
40
41
42
43
# SITSHelp — task runner
# Run `just` (or `just --list`) to see available recipes.
# Show available recipes
default:
@just --list
# Install the widget dependencies
install:
cd widget && npm install
# Build the React widget
build:
cd widget && npm run build
# Start the widget dev server
dev:
cd widget && npm run dev
# Run the widget test suite
test:
cd widget && npm run test
# Format the widget source with prettier
format:
cd widget && npm run format
# Check widget formatting without writing
format-check:
cd widget && npm run format:check
# Render Quarto example
example: build
cp -r _extensions example/_extensions
cd example && quarto render example.qmd
rm -rf example/_extensions
# Remove build artifacts
clean:
rm -rf example/_site example/_extensions
# Run the full pipeline locally (mirrors CI)
ci: format-check test build