5 releases (breaking)

0.5.0 Nov 10, 2023
0.4.0 Aug 19, 2023
0.3.0 Aug 19, 2023
0.2.0 Aug 19, 2023
0.1.0 Aug 19, 2023

#267 in Development tools

Download history 4/week @ 2023-11-01 31/week @ 2023-11-08 3/week @ 2023-11-15 10/week @ 2023-11-22 16/week @ 2023-11-29 2/week @ 2023-12-06 5/week @ 2023-12-13 5/week @ 2023-12-20 10/week @ 2023-12-27 3/week @ 2024-01-17 5/week @ 2024-01-24 5/week @ 2024-01-31 1/week @ 2024-02-07 56/week @ 2024-02-14

67 downloads per month

Apache-2.0

20KB
478 lines

Run Tool

A multi-purpose tool to aid developers in executing common tasks. Aiming to suit modern requirements, whilst not replicating make.

Whilst fairly stable, it is still in development and features may change

Docs can be found here: run-tool.docs.enchantedcode.co.uk

Features

  • Configuration uses YAML
  • Per project configuration file (if added at root of project)
  • Supporting a global configuration (per user)
  • Customisable targets
    • Arguments
    • Environment variables
    • Settable current working directory
    • Hooks (before and after target run)
    • Conditional runs (only run target when conditions are met)

Use Case

  • Running a project
  • Building a project
  • Run tests
  • One-off commands, e.g. downloading test data

Goals

  • Fast and easy to use
  • Human readable configuration
  • Cross-platform (for core functionality)
  • Support mono-repos
  • Support use in CI/CD

Non-Goals

  • Be a complete replacement to make

Install

Currently the only way to install is using Cargo:

cargo install run-tool

License

This project is Copyright (c) 2023 Leo Spratt, licence shown below:

Apache-2.0. Full license found in `LICENSE.txt`

Dependencies

~3–12MB
~129K SLoC