ivy4r 0.9.10 → 0.9.11
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -0
- data/lib/buildr/ivy_extension.rb +13 -8
- data/lib/ivy4r.rb +1 -1
- metadata +2 -2
data/History.txt
CHANGED
data/lib/buildr/ivy_extension.rb
CHANGED
@@ -151,6 +151,12 @@ module Buildr
|
|
151
151
|
ivy4r.report :todir => report_dir
|
152
152
|
end
|
153
153
|
|
154
|
+
# Cleans the ivy cache
|
155
|
+
def cleancache
|
156
|
+
ivy4r.cleancache
|
157
|
+
end
|
158
|
+
|
159
|
+
|
154
160
|
# Publishs the project as defined in ivy file if it has not been published already
|
155
161
|
def __publish__
|
156
162
|
if @base_ivy
|
@@ -636,16 +642,16 @@ For more configuration options see IvyConfig.
|
|
636
642
|
IvyExtension.add_prod_libs_to_distributeables(project)
|
637
643
|
IvyExtension.add_copy_tasks_for_publish(project)
|
638
644
|
|
639
|
-
task :clean do
|
640
|
-
# TODO This is redundant, refactor ivy_ant_wrap and this to use a single config object
|
641
|
-
info "Cleaning ivy reports"
|
642
|
-
rm_rf project.path_to(:reports, 'ivy')
|
643
|
-
end
|
644
|
-
|
645
645
|
namespace 'ivy' do
|
646
646
|
task :configure do
|
647
647
|
project.ivy.configure
|
648
648
|
end
|
649
|
+
|
650
|
+
task :clean => :configure do
|
651
|
+
# TODO This is redundant, refactor ivy_ant_wrap and this to use a single config object
|
652
|
+
rm_rf project.path_to(:reports, 'ivy')
|
653
|
+
project.ivy.cleancache
|
654
|
+
end
|
649
655
|
|
650
656
|
task :resolve => "#{project.name}:ivy:configure" do
|
651
657
|
project.ivy.__resolve__
|
@@ -666,9 +672,8 @@ For more configuration options see IvyConfig.
|
|
666
672
|
# Global targets that are not bound to a project
|
667
673
|
namespace 'ivy' do
|
668
674
|
task :clean do
|
669
|
-
info "Cleaning local ivy cache"
|
670
675
|
Buildr.projects.find_all{ |p| p.ivy.own_file? }.each do |project|
|
671
|
-
project.ivy.
|
676
|
+
project.task('ivy:clean').invoke
|
672
677
|
end
|
673
678
|
end
|
674
679
|
|
data/lib/ivy4r.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ivy4r
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Klaas Prause
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-12-
|
12
|
+
date: 2009-12-22 00:00:00 +01:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|