Remove {start,stop}doc as we're using Yard now.
This commit is contained in:
parent
566d6b3a46
commit
645e82df83
@ -11,11 +11,9 @@ require 'install_renamed'
|
|||||||
require 'pkg_version'
|
require 'pkg_version'
|
||||||
|
|
||||||
class Formula
|
class Formula
|
||||||
# :startdoc:
|
|
||||||
include FileUtils
|
include FileUtils
|
||||||
include Utils::Inreplace
|
include Utils::Inreplace
|
||||||
extend Enumerable
|
extend Enumerable
|
||||||
# :stopdoc:
|
|
||||||
|
|
||||||
attr_reader :name, :path
|
attr_reader :name, :path
|
||||||
attr_reader :stable, :devel, :head, :active_spec
|
attr_reader :stable, :devel, :head, :active_spec
|
||||||
@ -156,8 +154,6 @@ class Formula
|
|||||||
Keg.new(installed_prefix).version
|
Keg.new(installed_prefix).version
|
||||||
end
|
end
|
||||||
|
|
||||||
# :startdoc:
|
|
||||||
|
|
||||||
# The directory in the cellar that the formula is installed to.
|
# The directory in the cellar that the formula is installed to.
|
||||||
# This directory contains the formula's name and version.
|
# This directory contains the formula's name and version.
|
||||||
def prefix(v=pkg_version)
|
def prefix(v=pkg_version)
|
||||||
@ -270,8 +266,6 @@ class Formula
|
|||||||
false
|
false
|
||||||
end
|
end
|
||||||
|
|
||||||
# :stopdoc:
|
|
||||||
|
|
||||||
# yields self with current working directory set to the uncompressed tarball
|
# yields self with current working directory set to the uncompressed tarball
|
||||||
def brew
|
def brew
|
||||||
validate_attributes :name, :version
|
validate_attributes :name, :version
|
||||||
@ -335,8 +329,6 @@ class Formula
|
|||||||
"#<#{self.class.name}: #{path}>"
|
"#<#{self.class.name}: #{path}>"
|
||||||
end
|
end
|
||||||
|
|
||||||
# :startdoc:
|
|
||||||
|
|
||||||
# Standard parameters for CMake builds.
|
# Standard parameters for CMake builds.
|
||||||
# Using Build Type "None" tells cmake to use our CFLAGS,etc. settings.
|
# Using Build Type "None" tells cmake to use our CFLAGS,etc. settings.
|
||||||
# Setting it to Release would ignore our flags.
|
# Setting it to Release would ignore our flags.
|
||||||
@ -355,8 +347,6 @@ class Formula
|
|||||||
]
|
]
|
||||||
end
|
end
|
||||||
|
|
||||||
# :stopdoc:
|
|
||||||
|
|
||||||
# Deprecated
|
# Deprecated
|
||||||
def python(options={}, &block)
|
def python(options={}, &block)
|
||||||
opoo 'Formula#python is deprecated and will go away shortly.'
|
opoo 'Formula#python is deprecated and will go away shortly.'
|
||||||
@ -525,8 +515,6 @@ class Formula
|
|||||||
|
|
||||||
protected
|
protected
|
||||||
|
|
||||||
# :startdoc:
|
|
||||||
|
|
||||||
# Pretty titles the command and buffers stdout/stderr
|
# Pretty titles the command and buffers stdout/stderr
|
||||||
# Throws if there's an error
|
# Throws if there's an error
|
||||||
def system cmd, *args
|
def system cmd, *args
|
||||||
@ -589,8 +577,6 @@ class Formula
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# :stopdoc:
|
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
def exec_cmd(cmd, args, out, logfn)
|
def exec_cmd(cmd, args, out, logfn)
|
||||||
|
|||||||
@ -3,8 +3,6 @@ require 'dependency'
|
|||||||
require 'dependencies'
|
require 'dependencies'
|
||||||
require 'build_environment'
|
require 'build_environment'
|
||||||
|
|
||||||
# :startdoc:
|
|
||||||
|
|
||||||
# A base class for non-formula requirements needed by formulae.
|
# A base class for non-formula requirements needed by formulae.
|
||||||
# A "fatal" requirement is one that will fail the build if it is not present.
|
# A "fatal" requirement is one that will fail the build if it is not present.
|
||||||
# By default, Requirements are non-fatal.
|
# By default, Requirements are non-fatal.
|
||||||
@ -107,8 +105,6 @@ class Requirement
|
|||||||
super(cmd, ORIGINAL_PATHS.join(File::PATH_SEPARATOR))
|
super(cmd, ORIGINAL_PATHS.join(File::PATH_SEPARATOR))
|
||||||
end
|
end
|
||||||
|
|
||||||
# :stopdoc:
|
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
include BuildEnvironmentDSL
|
include BuildEnvironmentDSL
|
||||||
|
|
||||||
|
|||||||
@ -42,8 +42,6 @@ class Tty
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# :startdoc:
|
|
||||||
|
|
||||||
def ohai title, *sput
|
def ohai title, *sput
|
||||||
title = Tty.truncate(title) if $stdout.tty? && !ARGV.verbose?
|
title = Tty.truncate(title) if $stdout.tty? && !ARGV.verbose?
|
||||||
puts "#{Tty.blue}==>#{Tty.white} #{title}#{Tty.reset}"
|
puts "#{Tty.blue}==>#{Tty.white} #{title}#{Tty.reset}"
|
||||||
@ -73,8 +71,6 @@ def odie error
|
|||||||
exit 1
|
exit 1
|
||||||
end
|
end
|
||||||
|
|
||||||
# :stopdoc:
|
|
||||||
|
|
||||||
def pretty_duration s
|
def pretty_duration s
|
||||||
return "2 seconds" if s < 3 # avoids the plural problem ;)
|
return "2 seconds" if s < 3 # avoids the plural problem ;)
|
||||||
return "#{s.to_i} seconds" if s < 120
|
return "#{s.to_i} seconds" if s < 120
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user