Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
chromebrew
Commits
4412b615
Commit
4412b615
authored
Feb 03, 2020
by
Ed Reel
Committed by
GitHub
Feb 03, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add terminus package (#3795)
parent
f99759a3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
packages/terminus.rb
packages/terminus.rb
+17
-0
No files found.
packages/terminus.rb
0 → 100644
View file @
4412b615
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
'2.3.0'
source_url
'https://raw.githubusercontent.com/pantheon-systems/terminus/2.3.0/README.md'
source_sha256
'52e99c6db48987b1533d7c820ce77e27f416950347964885210bca7d2ac83c19'
depends_on
'php'
unless
File
.
exists?
"
#{
CREW_PREFIX
}
/bin/php"
def
self
.
install
system
"wget https://github.com/pantheon-systems/terminus/releases/download/
#{
version
}
/terminus.phar"
abort
'Checksum mismatch. :/ Try again.'
.
lightred
unless
Digest
::
SHA256
.
hexdigest
(
File
.
read
(
'terminus.phar'
)
)
==
'fda289eb438f1b2a899b17879497d531c5234011e183d09953c8e54a795c6bca'
system
"install -Dm755 terminus.phar
#{
CREW_DEST_PREFIX
}
/bin/terminus"
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment