distributable:
  url: https://github.com/mac-cain13/R.swift/releases/download/{{version}}/rswift-{{version}}.zip

versions:
  github: mac-cain13/R.swift

platforms:
  - darwin

provides:
  - bin/rswift

warnings:
  - vendored

build:
  working-directory: ${{prefix}}/bin
  script: mv "$SRCROOT"/rswift .

test: |
  [[ "$(rswift --version)" = "{{version}}" ]]
