Skip to content

A simple Linux shell script which compiles rust code whenever any file changes

License

Notifications You must be signed in to change notification settings

zaari/build-loop-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

build-loop-rust

A looping build script which builds when a file changes. Helpful when editing Rust source code without a proper IDE or language server. This script uses cargo-watch if it is available or Linux inotify if not.

Features

  • Shows line counts
  • Runs cargo audit
  • Runs cargo update
  • Runs cargo outdated
  • Runs cargo test (or any other subcommand) when any source file is changed

Installation

You have to add the location of the script to PATH environment variable or save (or link) the script to a location on the PATH.

It's recommended that cargo-watch, cargo-audit and cargo-outdated extensions are installed.

About

A simple Linux shell script which compiles rust code whenever any file changes

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages