file-scripts/file-scripts.rb
2022-01-10 12:00:11 -08:00

20 lines
614 B
Ruby

class FileScripts < Formula
desc "Various scripts for performing file-related operations such as editing and deleting"
homepage "https://github.com/etorres4/file-scripts"
url "https://github.com/etorres4/file-scripts",
:using => :git
version "1.0"
sha256 "e085eb0382f9025ea5d03abeb39148da7a97f40255a6beda79c7a066f8fc0696"
depends_on "python@3.10"
depends_on "fd"
depends_on "fzf"
def install
system Formula["python@3.10"].opt_bin/"python3", *Language::Python.setup_install_args(prefix)
# Install completions to zsh/site-functions
zsh_completion.install Dir["zsh/_*"]
end
end