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