Method: Guard::Functions#copy_all_functions

Defined in:
lib/marv/project/guard/functions.rb

#copy_all_functions(message, clean = nil) ⇒ Object

Copy all functions



24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# File 'lib/marv/project/guard/functions.rb', line 24

def copy_all_functions(message, clean=nil)
  builder = Marv::Project::Guard.builder.functions

  UI.info message

  unless clean.nil?
    builder.clean_functions
    builder.clean_includes
    builder.clean_folders
    Marv::Project::Guard.builder.assets.build_assets
  end

  builder.copy_functions
  builder.copy_includes
  builder.copy_folders
end