unirun

Crates.iounirun
lib.rsunirun
version0.3.0
created_at2025-01-25 23:37:38.837048+00
updated_at2025-02-15 17:20:40.360518+00
descriptionUniversal project runner
homepage
repositoryhttps://github.com/rivnakm/unirun
max_upload_size
id1530937
size41,563
Mike Rivnak (rivnakm)

documentation

README

unirun

Rust Crates.io Version

Universal project runner. Handles concurrent and dependent tasks

Installation

cargo install unirun

Usage

Create a uni.yaml file in your working directory

default: dev

jobs:
  db:
    name: "Start PostgreSQL podman container"
    steps:
      - run: "podman run --rm --name postgres-dev --env POSTGRES_PASSWORD=$POSTGRES_PASSWORD postgres:17-bookworm"
        persistent: true

  dev:
    name: "Run API"
    needs:
      - db
    steps:
      - run: "dotnet run --launch-profile=https"
        persistent: true

Then, run a specific job

uni run dev

or the default

uni run

Configuration

The persistent step option will run the command in the background until either another persistent step exits, or the program is stopped with SIGTERM or SIGINT

Commit count: 9

cargo fmt