obbistrano 1.1.36 → 1.1.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/obbistrano_tasks.rb +10 -2
- data/obbistrano.gemspec +1 -1
- metadata +1 -1
data/lib/obbistrano_tasks.rb
CHANGED
@@ -115,7 +115,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
115
115
|
# DEPLOYING APPLICATIONS
|
116
116
|
# =============================================================================
|
117
117
|
|
118
|
-
task :
|
118
|
+
task :full_deploy, :roles =>[:web] do
|
119
119
|
host.config_check
|
120
120
|
deploy_check
|
121
121
|
php_wax_deploy if defined? "#{phpwax}"
|
@@ -123,6 +123,14 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
123
123
|
bundle.css
|
124
124
|
bundle.js
|
125
125
|
end
|
126
|
+
|
127
|
+
desc "Deploys the application only - no Framework / Plugins"
|
128
|
+
task :deploy, :roles =>[:web] do
|
129
|
+
host.config_check
|
130
|
+
deploy_check
|
131
|
+
bundle.css
|
132
|
+
bundle.js
|
133
|
+
end
|
126
134
|
|
127
135
|
task :deploy_check, :roles =>[:web] do
|
128
136
|
fetch "repository" rescue abort "You have not specified a repository for this application"
|
@@ -252,7 +260,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
252
260
|
desc "Uses the specified repository to deploy an application. Also checks for correct versions of PHPWax and plugins."
|
253
261
|
task :default, :roles => [:web] do
|
254
262
|
logger.level=-1
|
255
|
-
app.
|
263
|
+
app.full_deploy
|
256
264
|
end
|
257
265
|
end
|
258
266
|
|
data/obbistrano.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{obbistrano}
|
5
|
-
s.version = "1.1.
|
5
|
+
s.version = "1.1.37"
|
6
6
|
s.authors = ["Ross Riley", "One Black Bear"]
|
7
7
|
s.date = Time.now
|
8
8
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|