Skip to content

Commit e8bef15

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 0058f93 commit e8bef15

1 file changed

Lines changed: 21 additions & 25 deletions

File tree

Justfile

Lines changed: 21 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -220,18 +220,18 @@ cookbook:
220220
man:
221221
#!/usr/bin/env bash
222222
mkdir -p docs/man
223-
cat > docs/man/{{project}}.1 << EOF
224-
.TH RSR-TEMPLATE-REPO 1 "$(date +%Y-%m-%d)" "{{version}}" "RSR Template Manual"
225-
.SH NAME
226-
{{project}} \- RSR standard repository template
227-
.SH SYNOPSIS
228-
.B just
229-
[recipe] [args...]
230-
.SH DESCRIPTION
231-
Canonical template for RSR (Rhodium Standard Repository) projects.
232-
.SH AUTHOR
233-
Hyperpolymath <hyperpolymath@proton.me>
234-
EOF
223+
cat > docs/man/{{project}}.1 << 'MANEOF'
224+
.TH RSR-TEMPLATE-REPO 1 "$(date +%Y-%m-%d)" "{{version}}" "RSR Template Manual"
225+
.SH NAME
226+
{{project}} \- RSR standard repository template
227+
.SH SYNOPSIS
228+
.B just
229+
[recipe] [args...]
230+
.SH DESCRIPTION
231+
Canonical template for RSR (Rhodium Standard Repository) projects.
232+
.SH AUTHOR
233+
Hyperpolymath <hyperpolymath@proton.me>
234+
MANEOF
235235
echo "Generated: docs/man/{{project}}.1"
236236
237237
# ═══════════════════════════════════════════════════════════════════════════════
@@ -287,14 +287,15 @@ ci: deps quality
287287
288288
# Install git hooks
289289
install-hooks:
290-
@mkdir -p .git/hooks
291-
@cat > .git/hooks/pre-commit << 'EOF'
292-
#!/bin/bash
293-
just fmt-check || exit 1
294-
just lint || exit 1
295-
EOF
296-
@chmod +x .git/hooks/pre-commit
297-
@echo "Git hooks installed"
290+
#!/usr/bin/env bash
291+
mkdir -p .git/hooks
292+
cat > .git/hooks/pre-commit << 'HOOKEOF'
293+
#!/bin/bash
294+
just fmt-check || exit 1
295+
just lint || exit 1
296+
HOOKEOF
297+
chmod +x .git/hooks/pre-commit
298+
echo "Git hooks installed"
298299
299300
# ═══════════════════════════════════════════════════════════════════════════════
300301
# SECURITY
@@ -456,11 +457,6 @@ todos:
456457
edit:
457458
${EDITOR:-code} .
458459
459-
# [AUTO-GENERATED] Multi-arch / RISC-V target
460-
build-riscv:
461-
@echo "Building for RISC-V..."
462-
cross build --target riscv64gc-unknown-linux-gnu
463-
464460
# Run panic-attacker pre-commit scan
465461
assail:
466462
@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)