| Crates.io | unirun |
| lib.rs | unirun |
| version | 0.3.0 |
| created_at | 2025-01-25 23:37:38.837048+00 |
| updated_at | 2025-02-15 17:20:40.360518+00 |
| description | Universal project runner |
| homepage | |
| repository | https://github.com/rivnakm/unirun |
| max_upload_size | |
| id | 1530937 |
| size | 41,563 |
Universal project runner. Handles concurrent and dependent tasks
cargo install unirun
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
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