#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.

2 unstable releases

0.12.0 Nov 27, 2024
0.11.1 Nov 26, 2024

#56 in Build Utils

Download history 265/week @ 2024-11-25

265 downloads per month

GPL-3.0 license

42KB
774 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

  • Quick and easy execution and monitoring of Makefile and other types of runners for your local project.

Dependencies

~32–50MB
~866K SLoC