WeSearch

Savepoint Project

·1 min read · 0 reactions · 0 comments · 13 views
#development tools#automation#version control#testing#command line#Savepoint Project
⚡ TL;DR · AI summary

The Savepoint Project is a command-line tool designed to automatically commit code changes when tests pass, helping developers save progress after fixing errors. It monitors specified file types and runs a given command, such as a test suite, repeatedly. If the command succeeds, Savepoint creates a git commit, effectively creating a savepoint in the development process.

Key facts
Original article
Namtao
Read full at Namtao →
Opening excerpt (first ~120 words) tap to expand

Savepoint Project Can't Beat the Boss? Load a Previous Save A command watcher that commits when you fix errors Feel free to poke around the code, I would love feature suggestions! Usage Usage: savepoint [OPTIONS] --filetype <filetype> [COMMAND]... Arguments: [COMMAND]... Command to run (use after -- if your shell requires it) Options: -f, --filetype <filetype> Filename extension to watch (eg rs, js, py, java) -d, --dryrun Don't run git commit when tests pass -c, --clear Clear screen between exections -q, --quiet Don't display test output -h, --help Print help -V, --version Print version DEMO savepoint runs the test, and it fails: 🏁 SAVEPOINT: Running command...

Excerpt limited to ~120 words for fair-use compliance. The full article is at Namtao.

Anonymous · no account needed
Share 𝕏 Facebook Reddit LinkedIn Threads WhatsApp Bluesky Mastodon Email

Discussion

0 comments

More from Namtao