distributable:
  url: https://github.com/Carthage/Carthage/archive/{{version}}.tar.gz
  strip-components: 1
versions:
  github: Carthage/Carthage
platforms:
  - darwin
build:
  script:
    - make prefix_install PREFIX={{prefix}}
provides:
  - bin/carthage
test:
  script:
    - carthage version | grep {{version}}