module Gordon::Cookery::HttpServer

Public Instance Methods

install_http_server_files(env_vars, blacklist) click to toggle source
# File lib/gordon/cookery/http_server.rb, line 6
def install_http_server_files(env_vars, blacklist)
  skeleton_path = get_skeleton_path_from_type(env_vars, env_vars.http_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