Skip to content

Commit e508fa7

Browse files
hyperpolymathclaude
andcommitted
chore: standardise, Justfile, (rename,, fix, parse, errors,, remove, useless, commands)
Batch Justfile audit: standardised naming (lowercase→Justfile), fixed parse errors, removed useless build-riscv from non-Rust repos, added missing assail recipe, and fixed code quality issues. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 98f8811 commit e508fa7

1 file changed

Lines changed: 21 additions & 25 deletions

File tree

justfile renamed to Justfile

Lines changed: 21 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -233,18 +233,18 @@ cookbook:
233233
man:
234234
#!/usr/bin/env bash
235235
mkdir -p docs/man
236-
cat > docs/man/{{project}}.1 << EOF
237-
.TH RSR-TEMPLATE-REPO 1 "$(date +%Y-%m-%d)" "{{version}}" "RSR Template Manual"
238-
.SH NAME
239-
{{project}} \- RSR standard repository template
240-
.SH SYNOPSIS
241-
.B just
242-
[recipe] [args...]
243-
.SH DESCRIPTION
244-
Canonical template for RSR (Rhodium Standard Repository) projects.
245-
.SH AUTHOR
246-
Hyperpolymath <hyperpolymath@proton.me>
247-
EOF
236+
cat > docs/man/{{project}}.1 << 'MANEOF'
237+
.TH RSR-TEMPLATE-REPO 1 "$(date +%Y-%m-%d)" "{{version}}" "RSR Template Manual"
238+
.SH NAME
239+
{{project}} \- RSR standard repository template
240+
.SH SYNOPSIS
241+
.B just
242+
[recipe] [args...]
243+
.SH DESCRIPTION
244+
Canonical template for RSR (Rhodium Standard Repository) projects.
245+
.SH AUTHOR
246+
Hyperpolymath <hyperpolymath@proton.me>
247+
MANEOF
248248
echo "Generated: docs/man/{{project}}.1"
249249
250250
# ═══════════════════════════════════════════════════════════════════════════════
@@ -278,14 +278,15 @@ ci: deps quality
278278
279279
# Install git hooks
280280
install-hooks:
281-
@mkdir -p .git/hooks
282-
@cat > .git/hooks/pre-commit << 'EOF'
283-
#!/bin/bash
284-
just fmt-check || exit 1
285-
just lint || exit 1
286-
EOF
287-
@chmod +x .git/hooks/pre-commit
288-
@echo "Git hooks installed"
281+
#!/usr/bin/env bash
282+
mkdir -p .git/hooks
283+
cat > .git/hooks/pre-commit << 'HOOKEOF'
284+
#!/bin/bash
285+
just fmt-check || exit 1
286+
just lint || exit 1
287+
HOOKEOF
288+
chmod +x .git/hooks/pre-commit
289+
echo "Git hooks installed"
289290
290291
# ═══════════════════════════════════════════════════════════════════════════════
291292
# SECURITY
@@ -447,11 +448,6 @@ todos:
447448
edit:
448449
${EDITOR:-code} .
449450
450-
# [AUTO-GENERATED] Multi-arch / RISC-V target
451-
build-riscv:
452-
@echo "Building for RISC-V..."
453-
cross build --target riscv64gc-unknown-linux-gnu
454-
455451
# Run panic-attacker pre-commit scan
456452
assail:
457453
@command -v panic-attack >/dev/null 2>&1 && panic-attack assail . || echo "panic-attack not found — install from https://github.com/hyperpolymath/panic-attacker"

0 commit comments

Comments
 (0)