@@ -262,39 +262,57 @@ function sync_args_from_cmd(args) {
262262 if ( ! ( "downloads" in lt_config [ "run_settings" ] ) ) {
263263 lt_config [ "run_settings" ] [ "downloads" ] = "" ;
264264 }
265+
265266 //Check for cypress settings
266267 if ( "cypress_settings" in args ) {
267268 lt_config [ "run_settings" ] [ "cypress_settings" ] = args [ "cypress_settings" ] ;
268269 } else if ( ! lt_config [ "run_settings" ] [ "cypress_settings" ] ) {
269270 lt_config [ "run_settings" ] [ "cypress_settings" ] = "" ;
270271 }
272+
271273 //Check for geo location
272274 if ( "geo_location" in args ) {
273275 lt_config [ "run_settings" ] [ "geo_location" ] = args [ "geo_location" ] ;
274276 } else if ( ! lt_config [ "run_settings" ] [ "geo_location" ] ) {
275277 lt_config [ "run_settings" ] [ "geo_location" ] = "" ;
276278 }
279+
277280 //Check for stop on failure location
278281 if ( "stop_on_failure" in args ) {
279282 lt_config [ "run_settings" ] [ "stop_on_failure" ] = true ;
280283 } else if ( ! lt_config [ "run_settings" ] [ "stop_on_failure" ] ) {
281284 lt_config [ "run_settings" ] [ "stop_on_failure" ] = false ;
282285 }
286+
283287 if (
284288 lt_config . run_settings . project_name &&
285289 ! lt_config . run_settings . project_key
286290 ) {
287291 lt_config . run_settings . project_key = lt_config . run_settings . project_name ;
288292 }
293+
289294 if (
290295 ! lt_config . run_settings . project_name &&
291296 lt_config . run_settings . project_key
292297 ) {
293298 lt_config . run_settings . project_name = lt_config . run_settings . project_key ;
294299 }
300+
295301 if ( lt_config . run_settings . project_autocreate == undefined ) {
296302 lt_config . run_settings . project_autocreate = true ;
297303 }
304+
305+ //set build tags from args
306+ if ( "build-tags" in args ) {
307+ lt_config [ "run_settings" ] [ "build_tags" ] = args [ "build-tags" ] . split ( "," ) ;
308+ } else if (
309+ lt_config [ "run_settings" ] [ "build_tags" ] != undefined &&
310+ lt_config [ "run_settings" ] [ "build_tags" ] != ""
311+ ) {
312+ lt_config [ "run_settings" ] [ "build_tags" ] =
313+ lt_config [ "run_settings" ] [ "build_tags" ] . split ( "," ) ;
314+ }
315+
298316 //get specs from current directory if specs are not passed in config or cli
299317 if (
300318 ( lt_config [ "run_settings" ] [ "specs" ] == undefined ||
0 commit comments