Created the Homebrew tap for Managarr
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
name: Release Managarr Homebrew tap
|
||||
on: [push]
|
||||
jobs:
|
||||
test:
|
||||
strategy:
|
||||
matrix:
|
||||
runs-on: ["macOS-latest", "ubuntu-latest"]
|
||||
|
||||
runs-on: ${{ matrix.runs-on }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Build and release Linux Managarr Tap
|
||||
if: matrix.runs-on == 'ubuntu-latest'
|
||||
shell: bash
|
||||
run: |
|
||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||
(echo; echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"') >> /home/runner/.bash_profile
|
||||
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
|
||||
brew install --build-bottle --verbose Formula/managarr.rb
|
||||
managarr -h
|
||||
- name: Build and release MacOS Managarr Tap
|
||||
if: matrix.runs-on == 'macOS-latest'
|
||||
shell: bash
|
||||
run: |
|
||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||
(echo; echo 'eval "$(/usr/local/bin/brew shellenv)"') >> /Users/runner/.bash_profile
|
||||
eval "$(/usr/local/bin/brew shellenv)"
|
||||
brew install --build-bottle --verbose Formula/managarr.rb
|
||||
managarr -h
|
||||
@@ -0,0 +1,24 @@
|
||||
# Documentation: https://docs.brew.sh/Formula-Cookbook
|
||||
# https://rubydoc.brew.sh/Formula
|
||||
class Managarr < Formula
|
||||
desc "A fast and simple dashboard for Kubernetes written in Rust"
|
||||
homepage "https://github.com/Dark-Alex-17/managarr"
|
||||
if OS.mac? and Hardware::CPU.arm?
|
||||
url "https://github.com/Dark-Alex-17/managarr/releases/download/0.4.1/managarr-macos-arm64.tar.gz"
|
||||
sha256 "754623934d5f6ffb631f3cc41c4aed29ce6a6c323f7f4022befab806ff4cbe4c"
|
||||
elsif OS.mac? and Hardware::CPU.intel?
|
||||
url "https://github.com/Dark-Alex-17/managarr/releases/download/0.4.1/managarr-macos.tar.gz"
|
||||
sha256 "ca55feb77e2bc0e03a2344e75c67fbfa14b7d3dc8e80a0ccfb1e0fea263ce4ed"
|
||||
else
|
||||
url "https://github.com/Dark-Alex-17/managarr/releases/download/0.4.1/managarr-linux-musl.tar.gz"
|
||||
sha256 "45cf1e06daf56bfc055876b51bd837716b2ea788898b5accc2f6847af4275011"
|
||||
end
|
||||
version "0.4.1"
|
||||
license "MIT"
|
||||
|
||||
def install
|
||||
bin.install "managarr"
|
||||
ohai "You're done! Run with \"managarr\""
|
||||
ohai "For runtime flags, see \"managarr --help\""
|
||||
end
|
||||
end
|
||||
@@ -1,2 +1,27 @@
|
||||
# homebrew-managarr
|
||||
Homebrew Tap for Managarr
|
||||
# Managarr - A TUI and CLI to help you manage your Servarr instances
|
||||
|
||||
```
|
||||
__ __
|
||||
| \/ | __ _ _ __ __ _ __ _ __ _ _ __ _ __
|
||||
| |\/| |/ _` | '_ \ / _` |/ _` |/ _` | '__| '__|
|
||||
| | | | (_| | | | | (_| | (_| | (_| | | | |
|
||||
|_| |_|\__,_|_| |_|\__,_|\__, |\__,_|_| |_|
|
||||
|___/
|
||||
```
|
||||
|
||||
Managarr is a TUI and CLI to help you manage your HTPC (Home Theater PC). Built with 🤎 in Rust!
|
||||
|
||||
**This repo holds Homebrew Tap and Formula for [Managarr](https://github.com/Dark-Alex-17/managarr)**
|
||||
|
||||
# Install with
|
||||
|
||||
```
|
||||
brew tap Dark-Alex-17/managarr
|
||||
brew install managarr
|
||||
|
||||
# If you need to be more specific, use:
|
||||
brew install Dark-Alex-17/managarr/managarr
|
||||
```
|
||||
|
||||
|
||||
Visit [https://github.com/Dark-Alex-17/managarr](https://github.com/Dark-Alex-17/managarr) for more details.
|
||||
|
||||
Reference in New Issue
Block a user