All Projects → makeflow → biu

makeflow / biu

Licence: other
The Command-line Task Hub.

Programming Languages

typescript
32286 projects
CSS
56736 projects

Projects that are alternatives of or similar to biu

ngx upstream jdomain
An asynchronous domain name resolution module for nginx upstream.
Stars: ✭ 71 (+446.15%)
Mutual labels:  task-runner
elk
🦌 Minimalist yaml based task runner
Stars: ✭ 43 (+230.77%)
Mutual labels:  task-runner
bask
😎 Bask in the convenience of a task runner for bash
Stars: ✭ 57 (+338.46%)
Mutual labels:  task-runner
gow
Missing watch mode for Go commands. Watch Go files and execute a command like "go run" or "go test"
Stars: ✭ 343 (+2538.46%)
Mutual labels:  task-runner
gilbert
Build system and task runner for Go projects
Stars: ✭ 105 (+707.69%)
Mutual labels:  task-runner
ansible-taskrunner
Ansible Taskrunner - ansible-playbook wrapper with YAML-abstracted python click cli options!
Stars: ✭ 14 (+7.69%)
Mutual labels:  task-runner
node-saku
Ⓜ️ Markdown-based task runner
Stars: ✭ 71 (+446.15%)
Mutual labels:  task-runner
bikeshed
Lock free hierarchical work scheduler
Stars: ✭ 78 (+500%)
Mutual labels:  task-runner
duty
A simple task runner.
Stars: ✭ 36 (+176.92%)
Mutual labels:  task-runner
rote
Automate everything.
Stars: ✭ 66 (+407.69%)
Mutual labels:  task-runner
runfile
Command line for your projects
Stars: ✭ 22 (+69.23%)
Mutual labels:  task-runner
alfons
🚀 Task runner for Lua and MoonScript.
Stars: ✭ 17 (+30.77%)
Mutual labels:  task-runner
rush
🏃‍♀️ Minimalistic CLI Tool for Managing and Running Bash Snippets
Stars: ✭ 35 (+169.23%)
Mutual labels:  task-runner
myrmidon
A rofi task / command executor
Stars: ✭ 82 (+530.77%)
Mutual labels:  task-runner
nss-run
nss-run (not so simple run) is a very simplistic build tool.
Stars: ✭ 14 (+7.69%)
Mutual labels:  task-runner
taskctl
Concurrent task runner, developer's routine tasks automation toolkit. Simple modern alternative to GNU Make 🧰
Stars: ✭ 237 (+1723.08%)
Mutual labels:  task-runner
django-simple-task
Simple background task for Django 3
Stars: ✭ 88 (+576.92%)
Mutual labels:  task-runner
alfred
(v0.2) Even Batman needs a little help. Task runner. Automator. Build system.
Stars: ✭ 62 (+376.92%)
Mutual labels:  task-runner
simple-targets-csx
⊙ A minimalist target runner for C# scripts.
Stars: ✭ 17 (+30.77%)
Mutual labels:  task-runner
arelo
a simple auto reload (live reload) utility
Stars: ✭ 54 (+315.38%)
Mutual labels:  task-runner

Biu: The Command-line Task Hub

Biu is a simple command-line tool for running multiple command-line tasks at the same time. It provides a simple GUI interface and aggregates stdout/stderr streams produced by tasks on demand.

image

Features

  • Start tasks in a group with one click.
  • Selectively pipe stdout and stderr of specific tasks.
  • Aggregate problems from several tasks with different problem matchers.

Installation

# global
yarn global add biu

# local
yarn add biu --dev

Usage

biu --help

Configuration

Biu loads configuration from a Node.js module, it could either be a .js or .json file. By default, it tries to require .biu, or read scripts section of package.json from the current working directory if no configuration file is specified and the default .biu (.js, .json) does not exist.

The configuration contains three fields: tasks (required), groups and problemMatchers.

Using built-in problem matchers

Currently Biu has the following built-in problem matchers:

  • $typescript:tsc-watch
  • $typescript:tslint
{
  "tasks": {
    "build-app": {
      "executable": "tsc",
      "args": ["-p", "src/app", "-w"],
      "problemMatcher": "$typescript:tsc-watch"
    },
    "build-server": {
      "executable": "tsc",
      "args": ["-p", "src/server", "-w"],
      "problemMatcher": "$typescript:tsc-watch"
    }
  },
  "groups": {
    "all": ["build-app", "build-server"]
  }
}

Using custom problem matchers

To use custom problem matchers, add it to the problemMatchers field:

{
  "tasks": {
    "build-app": {
      "executable": "tsc",
      "args": ["-p", "src/app", "-w"],
      "problemMatcher": "$typescript:tsc-watch"
    },
    "build-server": {
      "executable": "tsc",
      "args": ["-p", "src/server", "-w"],
      "problemMatcher": "$typescript:tsc-watch"
    },
    "build-website": {
      "executable": "webpack",
      "problemMatcher": "$typescript:at-loader"
    }
  },
  "groups": {
    "all": ["build-app", "build-server", "build-website"]
  },
  "problemMatchers": {
    "$typescript:at-loader": {
      "owner": "typescript",
      "pattern": [
        {
          "regexp": "^(ERROR) in \\[at-loader\\] (.+\\.ts):(\\d+|\\d+:\\d+)\\s*$",
          "severity": 1,
          "file": 2,
          "location": 3
        },
        {
          "regexp": "^\\s+(TS\\d+): (.+)$",
          "code": 1,
          "message": 2
        }
      ],
      "background": {
        "beginsPattern": "^\\[at-loader\\] Checking started in a separate process\\.\\.\\.$"
      }
    }
  }
}

Checkout config.ts for more options.

VSCode Problem Matcher Support

To make the aggregated problem matcher output work in VSCode, you'll need to define Biu as a task and configure proper problem matcher options in tasks.json:

{
  "version": "2.0.0",
  "tasks": [
    {
      "label": "biu",
      "type": "shell",
      "command": "yarn",
      "args": ["biu"],
      "isBackground": true,
      "group": {
        "kind": "build",
        "isDefault": true
      },
      "problemMatcher": {
        "name": "biu-typescript",
        "owner": "typescript",
        "applyTo": "closedDocuments",
        "fileLocation": "absolute",
        "pattern": {
          "regexp": "^\\[biu-problem:typescript:([^;]*);([^;]*);([^;]*);([^;]*);(.*?)\\]?$",
          "severity": 1,
          "file": 2,
          "location": 3,
          "code": 4,
          "message": 5
        },
        "background": {
          "activeOnStart": false,
          "beginsPattern": "^\\[biu-problems:typescript:begin\\]$",
          "endsPattern": "^\\[biu-problems:typescript:end\\]$"
        }
      }
    }
  ]
}

You can also install [Biu Problem Matchers] extension which contributes the following problem matchers:

  • $biu-typescript

Thus you will be able to simplify your task configuration.

{
  "version": "2.0.0",
  "tasks": [
    {
      "label": "biu",
      "type": "shell",
      "command": "yarn",
      "args": ["biu"],
      "isBackground": true,
      "group": {
        "kind": "build",
        "isDefault": true
      },
      "problemMatcher": "$biu-typescript"
    }
  ]
}

Support for package.json scripts

If configuration is loaded from package.json, Biu will convert all keys in scripts section into tasks. And if you add biuGroups, biu-groups or groups under biu section into your package.json, Biu will load it as groups.

License

MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].