Monorepo
Use case: one Runefile for a repo of several services — shared steps via
import, per-service tasks isolated inmodnamespaces.
Demonstrates: imports, modules · Guide: Imports and modules
Prerequisites: none
Run it
Section titled “Run it”rune api::buildExpected output
Section titled “Expected output”build api servicerune web::build builds the web service; rune release runs the shared package task
imported from shared.rune. Run rune --list to see both the root and namespaced tasks.
How it works
Section titled “How it works”import "shared.rune"splices shared tasks (likepackage) into the root.mod api "services/api.rune"loads a service as theapinamespace, called asapi::build.
This directory ships shared.rune and services/{api,web}.rune so the example is runnable
as-is.