test/config/command_sets.rb in screwcap-0.2 vs test/config/command_sets.rb in screwcap-0.3
- old
+ new
@@ -45,11 +45,15 @@
run :nested_var
nested_inside_with_var
run :nested_var
end
+command_set :use_scp do
+ scp :local => "/tmp/test", :remote => "/tmp/test"
+end
+
task_for :use_command_set_no_override, :server => :test do
push_to_thang
end
task_for :use_command_set_with_override, :server => :test do
@@ -82,6 +86,10 @@
task_for :nested_scoping, :server => :test do
set :nested_var, "task"
nested_outside_with_var
run :nested_var
+end
+
+task_for :task_use_scp, :server => :test do
+ use_scp
end