From 046527825499b5d50aad6e434033f7f2ff781de9 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Mon, 4 Dec 2017 16:13:57 +0000 Subject: brew-aspell-dictionaries: move to homebrew/core. Experiment with moving this from Homebrew/brew to Homebrew/homebrew-core (to allow future additions of formula-specific `cmd`s). --- Library/Homebrew/dev-cmd/aspell-dictionaries.rb | 47 ------------------------- 1 file changed, 47 deletions(-) delete mode 100644 Library/Homebrew/dev-cmd/aspell-dictionaries.rb diff --git a/Library/Homebrew/dev-cmd/aspell-dictionaries.rb b/Library/Homebrew/dev-cmd/aspell-dictionaries.rb deleted file mode 100644 index ab0e66d2b..000000000 --- a/Library/Homebrew/dev-cmd/aspell-dictionaries.rb +++ /dev/null @@ -1,47 +0,0 @@ -#: @hide_from_man_page -#: * `aspell_dictionaries`: -#: Generates the new dictionaries for the `aspell` formula. - -require "open-uri" -require "resource" -require "formula" - -module Homebrew - module_function - - def aspell_dictionaries - dict_url = "https://ftpmirror.gnu.org/aspell/dict" - dict_mirror = "https://ftp.gnu.org/gnu/aspell/dict" - languages = {} - - open("#{dict_url}/0index.html") do |content| - content.each_line do |line| - break if %r{^