Commit 159cfa5 Robert Adams
committed
1 parent 04bdb8d commit 159cfa5 Copy full SHA for 159cfa5
File tree 3 files changed +8
-4
lines changed
3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ task :local_build_upgrade do
14
14
{ :release_args , [ ] }
15
15
|> config ( )
16
16
|> Kernel . ++ ( [ "--upgrade" ] )
17
+
17
18
config ( :release_args , new_args )
18
19
19
20
invoke ( :local_copy_release )
Original file line number Diff line number Diff line change @@ -77,14 +77,15 @@ task :clean do
77
77
clean_exclude = config ( { :clean_ignore , [ ] } )
78
78
79
79
case clean_exclude == [ ] do
80
- true -> invoke :clean_all
81
- false -> invoke :clean_except
80
+ true -> invoke ( :clean_all )
81
+ false -> invoke ( :clean_except )
82
82
end
83
83
end
84
84
85
85
task :clean_except do
86
86
clean_exclude = config ( { :clean_ignore , [ ] } )
87
87
source_path = config ( { :ex_path , "" } )
88
+
88
89
remote :build , cd: source_path do
89
90
"ls"
90
91
end
@@ -99,7 +100,8 @@ task :clean_except do
99
100
|> Enum . join ( " " )
100
101
101
102
if locations != "" do
102
- UI . info ( "Cleaning locations: #{ IO . inspect locations } " )
103
+ UI . info ( "Cleaning locations: #{ locations } " )
104
+
103
105
remote :build do
104
106
"rm -rf #{ locations } "
105
107
end
@@ -117,6 +119,7 @@ task :clean_all do
117
119
118
120
if locations != "" do
119
121
UI . info ( "Cleaning locations: #{ locations } " )
122
+
120
123
remote :build do
121
124
"rm -rf #{ locations } "
122
125
end
@@ -336,6 +339,7 @@ task :remote_build_upgrade do
336
339
{ :clean_ignore , [ ] }
337
340
|> config ( )
338
341
|> Kernel . ++ ( [ "_build" ] )
342
+
339
343
config ( :clean_ignore , clean_exclude )
340
344
341
345
build_role = Config . get_role ( :build )
Original file line number Diff line number Diff line change @@ -10,4 +10,3 @@ task :hot_upgrade do
10
10
"bin/#{ app_name } upgrade #{ Config . version ( ) } "
11
11
end
12
12
end
13
-
You can’t perform that action at this time.
0 commit comments