module Gordon::Cookery::WebServer

Public Instance Methods

install_web_server_files(env_vars, blacklist) click to toggle source
# File lib/gordon/cookery/web_server.rb, line 6
def install_web_server_files(env_vars, blacklist)
  skeleton_path = get_skeleton_path_from_type(env_vars, env_vars.web_server_type)

  app_source_excludes = env_vars.app_source_excludes

  application_files = all_files_except_blacklisted(blacklist, app_source_excludes)

  root(skeleton_path).install application_files
end