forked from security-alliance/frameworks
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
28 lines (23 loc) · 633 Bytes
/
justfile
File metadata and controls
28 lines (23 loc) · 633 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
# Default recipe to display help information
default:
@just --list
# Install dependencies
install:
pnpm install
# Serve the Vocs site locally with hot reload
serve:
pnpm run docs:dev
# Build the static Vocs site
build: install
pnpm run docs:build
# Preview the built site locally
preview: install
pnpm run docs:preview
# Run all linting checks
lint:
@echo "Running spell check..."
find ./docs/pages -name "*.mdx" -print0 | xargs -0 npx cspell
@echo "Spell check complete!"
@echo ""
@echo "Running markdownlint..."
find ./docs/pages -name "*.mdx" -print0 | xargs -0 markdownlint-cli2