homebrew-core/Formula/django-completion.rb
Rui Chen 40cc71f373 django-completion 2.2.8
Closes #47389.

Signed-off-by: Alexander Bayandin <a.bayandin@gmail.com>
2019-12-02 19:29:56 +00:00

18 lines
561 B
Ruby

class DjangoCompletion < Formula
desc "Bash completion for Django"
homepage "https://github.com/django/django"
url "https://github.com/django/django/archive/2.2.8.tar.gz"
sha256 "fd83bdc35949303bc349bae8281b7cb02eb57e2e72b3673788bd478a61307c81"
head "https://github.com/django/django.git"
bottle :unneeded
def install
bash_completion.install "extras/django_bash_completion" => "django"
end
test do
assert_match "-F _django_completion",
shell_output("source #{bash_completion}/django && complete -p django-admin.py")
end
end