Skip to content

feat(runner): variable interpolation #20

@CalvinAllen

Description

@CalvinAllen

Description

Support variables in task definitions.

Proposed Syntax

vars:
  version: "1.0.0"
  name: myapp

build:
  cmd: cargo build --version \${{ vars.version }}

tag:
  cmd: git tag \${{ vars.name }}-v\${{ vars.version }}

Acceptance Criteria

  • Define variables in vars section
  • Interpolate in cmd strings
  • Support environment variable references
  • Support nested variable references

Metadata

Metadata

Assignees

Labels

coreCore functionalityfutureFuture feature

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions