test_env/config/deploy.rb in mina-0.2.1 vs test_env/config/deploy.rb in mina-0.3.0

- old
+ new

@@ -28,11 +28,11 @@ task :environment do queue %[echo "-----> Loading env"] end desc "Deploys." -task :deploy do +task :deploy => :environment do queue "bundle() { true; }" # Stub the bundle command. deploy do queue %[ruby -e "\\$stderr.write \\\"This is stdout output\n\\\""] invoke :'git:clone' @@ -59,9 +59,9 @@ #{echo_cmd %[touch tmp/restart.txt]} } end end -task :rofl do +task :get_password do set :term_mode, :pretty - queue %[echo "Password:"; read x; echo out: $x;] + queue %[echo "-> Getting password"; echo -n "Password: "; read x; echo ""; echo out: $x;] end