File tree 5 files changed +13
-19
lines changed
5 files changed +13
-19
lines changed Original file line number Diff line number Diff line change @@ -156,18 +156,15 @@ function main()
156
156
return remote_build_action ()
157
157
end
158
158
159
+ -- load config first
160
+ task .run (" config" , {require = false }, {disable_dump = true })
161
+
159
162
-- lock the whole project
160
163
project .lock ()
161
164
162
165
-- get the target name
163
166
local targetname = option .get (" target" )
164
167
165
- -- local config first
166
- config .load ()
167
-
168
- -- load targets
169
- project .load_targets ()
170
-
171
168
-- enter project directory
172
169
local oldir = os .cd (project .directory ())
173
170
Original file line number Diff line number Diff line change 65
65
function main ()
66
66
67
67
-- load config first
68
- config .load ()
69
-
70
- -- load targets
71
- project .load_targets ()
68
+ task .run (" config" , {require = false }, {disable_dump = true })
72
69
73
70
-- check targets first
74
71
local targetname
Original file line number Diff line number Diff line change @@ -443,12 +443,12 @@ function main()
443
443
return remote_build_action ()
444
444
end
445
445
446
- -- lock the whole project
447
- project .lock ()
448
-
449
446
-- load config first
450
447
task .run (" config" , {}, {disable_dump = true })
451
448
449
+ -- lock the whole project
450
+ project .lock ()
451
+
452
452
-- get tests
453
453
local tests = get_tests ()
454
454
local test_patterns = option .get (" tests" )
Original file line number Diff line number Diff line change @@ -28,11 +28,11 @@ import("uninstall")
28
28
29
29
function main ()
30
30
31
- -- config it first
32
- local targetname = option .get (" target" )
33
- task .run (" config" , {require = " n" , verbose = false })
31
+ -- load config first
32
+ task .run (" config" , {require = false }, {disable_dump = true })
34
33
35
34
-- attempt to uninstall directly
35
+ local targetname = option .get (" target" )
36
36
try
37
37
{
38
38
function ()
Original file line number Diff line number Diff line change @@ -112,12 +112,12 @@ function main()
112
112
return remote_build_action ()
113
113
end
114
114
115
- -- lock the whole project
116
- project .lock ()
117
-
118
115
-- load config first
119
116
task .run (" config" , {}, {disable_dump = true })
120
117
118
+ -- lock the whole project
119
+ project .lock ()
120
+
121
121
-- enter project directory
122
122
local oldir = os .cd (project .directory ())
123
123
You can’t perform that action at this time.
0 commit comments