Top Level Namespace
- Includes:
- Nginxbrew
Defined Under Namespace
Modules: Nginxbrew
Constant Summary collapse
- HOME_DIR =
ENV["NGINXBREW_HOME"] || File.join(ENV["HOME"], "nginxbrew")
- CONFIG_FILE =
ENV["NGINXBREW_CONFIG"]
- SOURCE_DIR =
"#{HOME_DIR}/.src"
- DIST_DIR =
"#{HOME_DIR}/versions"
- BIN_DIR =
"#{HOME_DIR}/bin"
- NGINX_BIN =
"#{BIN_DIR}/nginx"
- CACHE_DIR =
"#{HOME_DIR}/.cache"
Constants included from Nginxbrew
Instance Method Summary collapse
Methods included from Nginxbrew
Instance Method Details
#raise_abort(msg) ⇒ Object
10 11 12 |
# File 'lib/nginxbrew/rake_tools.rb', line 10 def raise_abort(msg) abort "[aborted] #{msg}" end |
#sh_exc(cmd, *opts) ⇒ Object
1 2 3 4 5 6 7 |
# 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 |