obbistrano 1.1.94 → 1.1.95
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/obbistrano_tasks.rb +10 -4
- data/obbistrano.gemspec +1 -1
- metadata +2 -2
data/lib/obbistrano_tasks.rb
CHANGED
@@ -21,13 +21,13 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
21
21
|
|
22
22
|
def puts_ok
|
23
23
|
if logger.level == Capistrano::Logger::IMPORTANT && !$error
|
24
|
-
puts '
|
24
|
+
puts '✔\n'.green
|
25
25
|
end
|
26
26
|
$error = false
|
27
27
|
end
|
28
28
|
|
29
29
|
def puts_fail
|
30
|
-
puts '
|
30
|
+
puts '✘\n'.red
|
31
31
|
end
|
32
32
|
|
33
33
|
|
@@ -666,8 +666,14 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
666
666
|
end
|
667
667
|
|
668
668
|
pretty_print "--> Dumping an optimized autoloader"
|
669
|
-
|
670
|
-
|
669
|
+
begin
|
670
|
+
run "sh -c 'cd #{deploy_to} && #{composer_bin} dump-autoload --optimize'"
|
671
|
+
puts_ok
|
672
|
+
rescue
|
673
|
+
puts_fail
|
674
|
+
end
|
675
|
+
|
676
|
+
|
671
677
|
end
|
672
678
|
|
673
679
|
task :copy_vendors, :except => { :no_release => true } do
|
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.95"
|
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=
|