distributable:
  url: https://github.com/kylef/swiftenv/archive/refs/tags/{{version}}.tar.gz
  strip-components: 1

versions:
  github: kylef/swiftenv

platforms:
  - darwin

build:
  working-directory: ${{prefix}}
  script: cp -a "$SRCROOT"/* .

provides:
  - bin/swiftenv

runtime:
  env:
    SWIFTENV_ROOT: ${{prefix}}

test: swiftenv init -
