Skip to content
Martin Helmut Fieber edited this page Sep 24, 2020 · 11 revisions

Description

Litr (Language independent task runner) lets you configure and then run any tasks you want for any language. Define scripts, run executables or execute commands on your machine. Litr serves as an abstraction layer to combine different strategies into one tool.

Primary goals

  • Easy to set up
  • Easy to use
  • Fast

In general the tool needs to be "as user friendly as possible", with pretty error reporting, helpful messages and uncomplicated setup.

Vision

Here an example for installing the tool on a Mac:

brew install litr

Here is a small "vision" of the tool showing the usage. Context is on a Mac, working on a C++ project with CMake.

cd Projects/example
litr install
litr build --target release
litr run

Or a short form:

cd Projects/example
litr install, build --target Release, run

The command does not need to be executed in the same folder as the litr.toml. Litr will look for the closed litr.toml file, in this order:

  • Same folder
  • Parent folder up until root
  • User folder ~

See the setup section on details how to define commands.

Clone this wiki locally