Commit 9242a212 authored by Casey Strouse's avatar Casey Strouse Committed by GitHub

Add Github CLI package (#4091)

This adds the Github CLI tool 'gh' as a new package.

Tested on ARM.
parent e32485e5
require 'package'
class Github_cli < Package
description 'Official Github CLI tool'
homepage 'https://cli.github.com/'
version '0.9.0'
source_url 'https://github.com/cli/cli/archive/v0.9.0.tar.gz'
source_sha256 '318295e5a662f785662751f1e2cd4b1f613ec3aced1c4e7f1755d27922dbfdbf'
binary_url ({
})
binary_sha256 ({
})
depends_on 'go' => :build
def self.build
system 'make'
end
def self.install
system "install -Dm755 bin/gh #{CREW_DEST_PREFIX}/bin/gh"
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment