Skip to content

Commit 553c3a0

Browse files
committed
initial homebrew formula for codefresh cli
0 parents  commit 553c3a0

File tree

4 files changed

+58
-0
lines changed

4 files changed

+58
-0
lines changed

Formula/codefresh.rb

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
class Codefresh < Formula
2+
desc "Codefresh CLI provides a full and flexible interface to interact with Codefresh."
3+
homepage "http://cli.codefresh.io"
4+
url "https://github.com/codefresh-io/cli/releases/download/v0.8.4/codefresh-v0.8.4-macos-x64.tar.gz"
5+
version "v0.8.4"
6+
sha256 "599ebba09171d2b24ef9f430cd0c94e0064e2800702cec78f1f118aded3ea692"
7+
8+
def install
9+
bin.install "codefresh"
10+
end
11+
12+
test do
13+
system "#{bin}/codefresh version"
14+
end
15+
end

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2018 Codefresh
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# homebrew-tap [![Powered By: Codefresh](https://img.shields.io/badge/powered%20by-codefresh-io-green.svg?style=flat-square)](https://github.com/codefresh-io)
2+
3+
Homebrew Formula for [codefresh/cli](https://github.com/codefresh-io/cli) tool.
4+
5+
```sh
6+
brew install codefresh-io/tap/cli
7+
```

formula.template

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
class Codefresh < Formula
2+
desc "Codefresh CLI provides a full and flexible interface to interact with Codefresh."
3+
homepage "http://cli.codefresh.io"
4+
url "https://github.com/codefresh-io/cli/releases/download/{{ VERSION }}/codefresh-{{{ VERSION }}-macos-x64.tar.gz"
5+
version "{{ VERSION }}"
6+
sha256 "{{ SHA256 }}"
7+
8+
def install
9+
bin.install "codefresh"
10+
end
11+
12+
test do
13+
system "#{bin}/codefresh version"
14+
end
15+
end

0 commit comments

Comments
 (0)