oneblackbear-obbistrano 1.0.74 → 1.0.75
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 +9 -7
- data/obbistrano.gemspec +1 -1
- metadata +1 -1
data/lib/obbistrano_tasks.rb
CHANGED
|
@@ -211,17 +211,19 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
|
211
211
|
end
|
|
212
212
|
|
|
213
213
|
|
|
214
|
-
task :css_build
|
|
214
|
+
task :css_build do
|
|
215
|
+
set :css_files, Dir.glob("**/*.css") if !defined? "#{css_files}"
|
|
215
216
|
run "cd #{deploy_to} && rm -f public/stylesheets/build.css"
|
|
216
|
-
|
|
217
|
-
run "cd #{deploy_to} && cat #{f} >> public/stylesheets/build.css"
|
|
217
|
+
css_files.each do |f|
|
|
218
|
+
run "cd #{deploy_to} && cat #{f} >> #{deploy_to}/public/stylesheets/build.css"
|
|
218
219
|
end
|
|
219
220
|
end
|
|
220
|
-
|
|
221
|
-
task :js_build
|
|
221
|
+
|
|
222
|
+
task :js_build do
|
|
223
|
+
set :js_files, Dir.glob("**/*.js") if !defined? "#{js_files}"
|
|
222
224
|
run "cd #{deploy_to} && rm -f public/javascripts/build.js"
|
|
223
|
-
|
|
224
|
-
run "cd #{deploy_to} && cat #{f} >> public/javascripts/build.js"
|
|
225
|
+
js_files.each do |f|
|
|
226
|
+
run "cd #{deploy_to} && cat #{f} >> #{deploy_to}/public/javascripts/build.js"
|
|
225
227
|
end
|
|
226
228
|
end
|
|
227
229
|
####### ##############
|
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.0.
|
|
5
|
+
s.version = "1.0.75"
|
|
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=
|