Skip to content

Commit 159cfa5

Browse files
author
Robert Adams
committed
Fix formatting
1 parent 04bdb8d commit 159cfa5

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

lib/bootleg/tasks/build/local.exs

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ task :local_build_upgrade do
1414
{:release_args, []}
1515
|> config()
1616
|> Kernel.++(["--upgrade"])
17+
1718
config(:release_args, new_args)
1819

1920
invoke(:local_copy_release)

lib/bootleg/tasks/build/remote.exs

+7-3
Original file line numberDiff line numberDiff line change
@@ -77,14 +77,15 @@ task :clean do
7777
clean_exclude = config({:clean_ignore, []})
7878

7979
case clean_exclude == [] do
80-
true -> invoke :clean_all
81-
false -> invoke :clean_except
80+
true -> invoke(:clean_all)
81+
false -> invoke(:clean_except)
8282
end
8383
end
8484

8585
task :clean_except do
8686
clean_exclude = config({:clean_ignore, []})
8787
source_path = config({:ex_path, ""})
88+
8889
remote :build, cd: source_path do
8990
"ls"
9091
end
@@ -99,7 +100,8 @@ task :clean_except do
99100
|> Enum.join(" ")
100101

101102
if locations != "" do
102-
UI.info("Cleaning locations: #{IO.inspect locations}")
103+
UI.info("Cleaning locations: #{locations}")
104+
103105
remote :build do
104106
"rm -rf #{locations}"
105107
end
@@ -117,6 +119,7 @@ task :clean_all do
117119

118120
if locations != "" do
119121
UI.info("Cleaning locations: #{locations}")
122+
120123
remote :build do
121124
"rm -rf #{locations}"
122125
end
@@ -336,6 +339,7 @@ task :remote_build_upgrade do
336339
{:clean_ignore, []}
337340
|> config()
338341
|> Kernel.++(["_build"])
342+
339343
config(:clean_ignore, clean_exclude)
340344

341345
build_role = Config.get_role(:build)

lib/bootleg/tasks/hot_upgrade.exs

-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,3 @@ task :hot_upgrade do
1010
"bin/#{app_name} upgrade #{Config.version()}"
1111
end
1212
end
13-

0 commit comments

Comments
 (0)