Commit 2b4b79da by Karl Kloppenborg Committed by GitHub

Merge pull request #7 from Tensho/invoke-bang

Use new capistrano DSL for reenable tasks
parents 08d267cb 2599ae54
...@@ -189,7 +189,6 @@ namespace :sneakers do ...@@ -189,7 +189,6 @@ namespace :sneakers do
end end
end end
end end
Rake::Task["sneakers:stop"].reenable
end end
desc 'Start sneakers' desc 'Start sneakers'
...@@ -205,7 +204,7 @@ namespace :sneakers do ...@@ -205,7 +204,7 @@ namespace :sneakers do
desc 'Restart sneakers' desc 'Restart sneakers'
task :restart do task :restart do
invoke 'sneakers:stop' invoke! 'sneakers:stop'
invoke 'sneakers:start' invoke 'sneakers:start'
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment