-
-
Save sandeeplearner/248a20c3a74527f5df9ac8f7289564be to your computer and use it in GitHub Desktop.
copy proto files to project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby | |
def copy_files_to_folder(group) | |
puts "Current directory is #{group.path} and real path is #{group.real_path}" | |
FileUtils.cp_r(File.join(Dir.home, "Documents", "GitClone", "SwiftProtoFiles"), group.real_path) | |
if Dir.exists?(File.join(group.real_path, @proto_group_name)) | |
add_group_to_project(group, @proto_group_name, @project) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment