capistrano-wordpress 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/capistrano-wordpress.gemspec +1 -1
- data/lib/capistrano_wordpress.rb +11 -5
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.6
|
data/lib/capistrano_wordpress.rb
CHANGED
@@ -72,11 +72,11 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
72
72
|
namespace :deploy do
|
73
73
|
|
74
74
|
# Remove normal "rails" tasks; not needed for WP
|
75
|
-
[:setup, :update, :update_code, :finalize_update, :symlink, :restart].each do |default_task|
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
end
|
75
|
+
# [:setup, :update, :update_code, :finalize_update, :symlink, :restart].each do |default_task|
|
76
|
+
# task default_task do
|
77
|
+
# # ... ahh, silence!
|
78
|
+
# end
|
79
|
+
# end
|
80
80
|
|
81
81
|
desc "A macro-task that updates the code and fixes the symlink."
|
82
82
|
task :default do
|
@@ -103,4 +103,10 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
103
103
|
end
|
104
104
|
|
105
105
|
end
|
106
|
+
|
107
|
+
namespace :git do
|
108
|
+
|
109
|
+
#TODO: Add git task to automatically check in repo.
|
110
|
+
|
111
|
+
end
|
106
112
|
end
|