• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

jhheider / scriptbox / 29661829250
79%

Build:
DEFAULT BRANCH: main
Ran 18 Jul 2026 09:34PM UTC
Jobs 1
Files 11
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

18 Jul 2026 09:33PM UTC coverage: 73.098% (-0.9%) from 74.021%
29661829250

push

github

web-flow
Join $0 reset onto the first body line (line-faithful + lint-clean); add emit + shellcheck compat check (#4)

The $0 rewrite used to swap the shebang line, which dropped the shell dialect
(shellcheck added SC2148) and left shebang-less scripts unrewritten. Now the reset
is joined onto the first body line with `;` - after the shebang if present, else at
the start. This adds no line (error line numbers stay exact, restoring the
line-number fidelity the swap had) AND keeps the shebang on line 1 (lint-clean).
bash>=5/zsh get the real $0 with or without a shebang; dash/ksh still need
--argv0 source. Checksum gate unaffected (runs over pre-rewrite bytes).

- `scriptbox emit [interp] <script>`: print the exact bytes it would run, without
  running - for debugging and as a shellcheck target.
- compat suite: a shellcheck check that `scriptbox emit` adds no finding the
  original lacks, across every idiom x bash/zsh (83 pass / 0 fail on Linux). Adds
  shellcheck to the Dockerfile.

Full test suite + clippy clean; compat green on Linux and macOS.


Claude-Session: https://claude.ai/code/session_014psyX18vgHn4UkMwCtZqff

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

31 of 49 new or added lines in 3 files covered. (63.27%)

932 of 1275 relevant lines covered (73.1%)

7.22 hits per line

Uncovered Changes

Lines Coverage ∆ File
14
86.49
-4.91% src/run.rs
4
89.83
-2.03% src/main.rs
Jobs
ID Job ID Ran Files Coverage
1 29661829250.1 18 Jul 2026 09:34PM UTC 11
73.1
GitHub Action Run
Source Files on build 29661829250
  • Tree
  • List 11
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29661829250
  • 776a2e45 on github
  • Prev Build on main (#29661623682)
  • Next Build on main (#29662126480)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc