class Object

Constants

BIN_DIR
CACHE_DIR
CONFIG_FILE
DIST_DIR
HEAD_VERSION
HOME_DIR
NGINX_BIN
SOURCE_DIR

Public Instance Methods

raise_abort(msg) click to toggle source
# File lib/nginxbrew/rake_tools.rb, line 10
def raise_abort(msg)
    abort "[aborted] #{msg}"
end
sh_exc(cmd, *opts) click to toggle source
# File lib/nginxbrew/rake_tools.rb, line 1
def sh_exc(cmd, *opts)
    line = cmd
    line += " " + opts.join(" ")
    $logger.debug("#{line} dir=[#{Dir.pwd}]")
    line += " >/dev/null" unless $debug
    sh line
end