Configuration Schema
Thesame.yaml file drives the execution engine.
version: Configuration format version (currently “1”).project: (Optional) Name of the project, only required if using a workspace setup.tools: A map of tool aliases to versions (e.g.,go: [email protected]).sameuses Nix to provide these hermetically.tasks: A map of task names to task definitions.
input: List of file globs or paths that affect the task output. Used for caching hash calculation.cmd: The command to execute (as a list of strings).target: List of output files or directories the task produces.tools: List of tool aliases (defined in the globaltoolssection) required by this specific task.dependsOn: List of other tasks that must complete successfully before this task runs.environment: Map of environment variables injected into the task execution.workingDir: Directory to execute the command in. If a relative path is provided, it is relative to the project root (the directory containingsame.yaml). Defaults to the project root.