mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-05-01 03:00:26 -04:00
* terminus -> 4.1.8 in updater-terminus-4.1.8 * updater-terminus-4.1.8: Package File Update Run on linux/amd64 container. * updater-terminus-4.1.8: Package File Update Run on linux/arm/v7 container. --------- Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com> Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com>
20 lines
675 B
Ruby
20 lines
675 B
Ruby
require 'package'
|
|
|
|
class Terminus < Package
|
|
description 'The Pantheon CLI — a standalone utility for performing operations on the Pantheon Platform'
|
|
homepage 'https://github.com/pantheon-systems/terminus'
|
|
version '4.1.8'
|
|
license 'MIT'
|
|
compatibility 'aarch64 armv7l x86_64'
|
|
source_url "https://github.com/pantheon-systems/terminus/releases/download/#{version}/terminus.phar"
|
|
source_sha256 '32888b30bc52a24758d11b85461e0ec4c2c22639d0621be4ac101f3531c30b4a'
|
|
|
|
depends_on 'php84' unless File.exist? "#{CREW_PREFIX}/bin/php"
|
|
|
|
no_compile_needed
|
|
|
|
def self.install
|
|
FileUtils.install 'terminus.phar', "#{CREW_DEST_PREFIX}/bin/terminus", mode: 0o755
|
|
end
|
|
end
|