Method: Codebuild::Init#copy_project

Defined in:
lib/codebuild/init.rb

#copy_projectObject



45
46
47
48
49
50
# File 'lib/codebuild/init.rb', line 45

def copy_project
  puts "Initialize codebuild project in .codebuild"
  dest = ".codebuild"
  dest = "#{dest}/#{@options[:type]}" if @options[:type]
  directory "project", dest, exclude_pattern: /.git/
end