Skip to content

feat(runner): variable interpolation #20

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

coreCore functionalityfutureFuture feature

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions