class FYAML::Folders

Creates all folders

Constants

APP_ICON_FOLDER
DELIVER_FOLDER
FASTLANE_FOLDER
RATING_FOLDER
SCREENSHOTS_FOLDER

Public Class Methods

root() click to toggle source
# File lib/fastlane-yaml-init/folders.rb, line 15
def root
  FASTLANE_FOLDER
end
setup() click to toggle source
# File lib/fastlane-yaml-init/folders.rb, line 11
def setup
  create_folders
end

Private Class Methods

create_folders() click to toggle source
# File lib/fastlane-yaml-init/folders.rb, line 25
def create_folders
  fail("#{root} folder already exist") if File.exist?(root)
  FileUtils.mkdir_p(folders)
end
folders() click to toggle source
# File lib/fastlane-yaml-init/folders.rb, line 21
def folders
  [FASTLANE_FOLDER, DELIVER_FOLDER, APP_ICON_FOLDER, RATING_FOLDER, SCREENSHOTS_FOLDER]
end