#task-runner #makefile #tasks #task

build ck-cracker

Cracker is a simple, fast, and plain task runner. Designed with the idea of supporting as many task tools as possible.

3 releases (breaking)

0.13.0 Dec 7, 2024
0.12.0 Nov 27, 2024
0.11.1 Nov 26, 2024

#58 in Build Utils

Download history 65/week @ 2024-11-20 200/week @ 2024-11-27 128/week @ 2024-12-04 16/week @ 2024-12-11 1/week @ 2024-12-18

145 downloads per month

GPL-3.0 license

43KB
801 lines

cracker

A rusty ui for exploring and starting tasks. Of course, blazingly fast.

Requirements

Be sure to add $HOME/.cargo/bin/ to your environment PATH variable.

Supports

  • Linux
  • *macOS
  • *Windows Subsystem for Linux (WSL)

* untested, should work.

Installation Methods

Install with cargo

If you haven't isntalled cargo yet, now's a good time. Follow the cargo install instructions here Then run from your terminal.

cargo install ck-cracker

Manual Installation

Clone the repository:

git clone git@github.com:lloydbond/cracker.git
cd cracker
cargo install --path .

Usage

  cd /path/to/Makefile
  ck

Enable Log messages

Log messages are limited for as the tool reaches a 1.0 release.

  RUST_LOG=ck=[warn|info|error|debug] ck

  RUST_LOG=ck=debug ck

TODO:

  • Asynchronously open Makefile
  • handle multi-target Makefile rules
  • support commands with streaming data
    • example: tail -f /var/log/dmesg.log
  • Support additional task runner type build scripts
    • npm
    • grunt
    • taskpy
    • etc.
  • switch makfile-lossless to PEG for rule target detecion
  • seperate task runner support to library
  • cracker-tui
  • hx/vi compatible keymapping
  • add to crates.io
  • CICD

Motivation

Who is this For

Quick and easy execution and monitoring of Makefile and other types of runners for your local project. When you need to give a laymon commands to run and they are averse to typing in a terminal.

Note from the maintainer

I've been using this project as a means to learn Rust. Expect improvments and additions as I have time. Any improvements, code style, or feed back will go along way for this project. Any contributions or additions to the supported Task runners as well as UI beautifcations or simplifications are greatly welcomed and appreciated. Happy Coding!

Dependencies

~44–82MB
~1.5M SLoC