Skip to content

Homebrew formula? #13

@danielbayley

Description

@danielbayley

@mklement0 I have a working Homebrew formula for this project locally in my dotfiles… but maybe it should live with the project creator? So here it is if you want to include it somewhere:

class Fileicon < Formula
  desc "macOS CLI for managing custom icons for files and folders"
  homepage "https://github.com/mklement0/fileicon"
  url "https://github.com/mklement0/fileicon/archive/v0.2.2.tar.gz"
  sha256 "1725a6a693b3586617b0fc669719a15c05eb7f8e535daee511a315d9b6fc0eb3"

  def install
    bin.install "bin/fileicon"
    man1.install "man/fileicon.1"
  end

  test do
    stdout = shell_output "#{bin}/fileicon --version"
    assert_match /fileicon v#{version}/, stdout
  end
end

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions