class HomebrewAutomation::CLI::FormulaCommands

Public Instance Methods

put_bottle() click to toggle source
# File lib/homebrew_automation/cli/formula_commands.rb, line 25
def put_bottle
  before = HomebrewAutomation::Formula.parse_string($stdin.read)
  after = before.put_bottle(options[:os], options[:sha256])
  $stdout.write after
end
put_sdist() click to toggle source
# File lib/homebrew_automation/cli/formula_commands.rb, line 16
def put_sdist
  before = HomebrewAutomation::Formula.parse_string($stdin.read)
  after = before.put_sdist options[:url], options[:sha256]
  $stdout.write after
end