6 releases (3 breaking)
0.3.0 | Feb 15, 2025 |
---|---|
0.2.0 | Jan 26, 2025 |
0.1.2 | Jan 26, 2025 |
0.0.1-rc.1 | Jan 25, 2025 |
#185 in Database interfaces
438 downloads per month
20KB
494 lines
unirun
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
Dependencies
~7.5MB
~146K SLoC