obbistrano 1.1.106 → 1.1.107
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/obbistrano_tasks.rb +8 -7
- data/obbistrano.gemspec +1 -1
- metadata +2 -2
data/lib/obbistrano_tasks.rb
CHANGED
@@ -509,9 +509,9 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
509
509
|
end
|
510
510
|
Dir.mkdir("#{build_to}/public/stylesheets/build") rescue ""
|
511
511
|
paths.each do |bundle_directory|
|
512
|
-
pretty_print "--> directory: #{bundle_directory}\n"
|
513
512
|
bundle_name = bundle_directory.gsub("#{build_to}/", "").gsub("plugins/", "").gsub("/resources/public/stylesheets", "").gsub("public/stylesheets/", "")
|
514
|
-
pretty_print "--> bundle name: #{bundle_name}
|
513
|
+
pretty_print "--> bundle name: #{bundle_name}"
|
514
|
+
puts_ok
|
515
515
|
next if bundle_name.empty?
|
516
516
|
files = recursive_file_list(bundle_directory, ".css")
|
517
517
|
next if files.empty? || bundle_name == 'dev'
|
@@ -542,6 +542,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
542
542
|
File.open(target, 'w') { |f| f.write(bundle) }
|
543
543
|
end
|
544
544
|
end
|
545
|
+
pretty_print "--> Uploading CSS build files"
|
545
546
|
upload "#{build_to}/public/stylesheets/build", "#{deploy_to}/public/stylesheets/", :via => :scp, :recursive=>true
|
546
547
|
puts_ok
|
547
548
|
end
|
@@ -551,17 +552,16 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
551
552
|
if defined? "#{plugins}"
|
552
553
|
plugins.each do |plugin|
|
553
554
|
pretty_print "--> plugin: #{plugin}"
|
555
|
+
puts_ok
|
554
556
|
paths << "#{build_to}/plugins/#{plugin}/resources/public/javascripts"
|
555
557
|
end
|
556
558
|
end
|
557
|
-
|
558
|
-
pretty_print "--> folders: #{path}".green
|
559
|
-
end
|
559
|
+
|
560
560
|
Dir.mkdir("#{build_to}/public/javascripts/build") rescue ""
|
561
561
|
paths.each do |bundle_directory|
|
562
|
-
pretty_print "--> directory: #{bundle_directory}\n"
|
563
562
|
bundle_name = bundle_directory.gsub("#{build_to}/", "").gsub("plugins/", "").gsub("/resources/public/javascripts", "").gsub("public/javascripts/", "")
|
564
|
-
pretty_print "--> bundle name: #{bundle_name}
|
563
|
+
pretty_print "--> bundle name: #{bundle_name}"
|
564
|
+
puts_ok
|
565
565
|
next if bundle_name.empty?
|
566
566
|
files = recursive_file_list(bundle_directory, ".js")
|
567
567
|
next if files.empty? || bundle_name == 'dev'
|
@@ -590,6 +590,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
590
590
|
File.open(target, 'w') { |f| f.write(bundle) }
|
591
591
|
end
|
592
592
|
end
|
593
|
+
pretty_print "--> Uploading javascript build files"
|
593
594
|
upload "#{build_to}/public/javascripts/build", "#{deploy_to}/public/javascripts/", :via => :scp, :recursive=>true
|
594
595
|
puts_ok
|
595
596
|
end
|
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.107"
|
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=
|