59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
# File 'lib/logical-construct/ground-control/setup/copy-files.rb', line 59
def define
in_namespace do
RemoteCopyFile.new(self, :construct_dir) do |task|
task.runtime_definition do
task.remote_server = remote_server
end
task.exclude << "*.so"
task.exclude << "*.dynlib"
task.source_path = File::join(files_dir, "*")
task.destination_path = construct_dir
end
end
bracket_task(:remote_groundwork, :construct_dir, :remote_config)
desc "Copy locally generated files to the remote server"
task root_task => in_namespace(:construct_dir)
task :remote_config => root_task
end
|