Skip to content

Commit 4a515eb

Browse files
committed
Revert "add runner_args to cli"
This reverts commit 40b7888.
1 parent 8485e94 commit 4a515eb

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

src/fpm_command_line.f90

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ module fpm_command_line
9090
character(len=ibug),allocatable :: name(:)
9191
character(len=:),allocatable :: args
9292
character(len=:),allocatable :: runner
93-
character(len=:),allocatable :: runner_args
9493
logical :: example
9594
contains
9695
procedure :: runner_command
@@ -144,7 +143,7 @@ module fpm_command_line
144143
& 'test', 'runner', 'install', 'update', 'list', 'help', 'version', 'publish' ]
145144

146145
character(len=:), allocatable :: val_runner, val_compiler, val_flag, val_cflag, val_cxxflag, val_ldflag, &
147-
val_profile, val_runner_args
146+
val_profile
148147

149148
! '12345678901234567890123456789012345678901234567890123456789012345678901234567890',&
150149
character(len=80), parameter :: help_text_build_common(*) = [character(len=80) :: &
@@ -271,8 +270,7 @@ subroutine get_command_line_settings(cmd_settings)
271270
run_args = &
272271
' --target " "' // &
273272
' --list F' // &
274-
' --runner " "'// &
275-
' --runner-args " "'
273+
' --runner " "'
276274

277275
compiler_args = &
278276
' --profile " "' // &
@@ -326,8 +324,7 @@ subroutine get_command_line_settings(cmd_settings)
326324
archiver = sget('archiver')
327325
allocate(fpm_run_settings :: cmd_settings)
328326
val_runner=sget('runner')
329-
val_runner_args=sget('runner-args')
330-
if (specified('runner') .and. val_runner=='')val_runner='echo'
327+
if(specified('runner') .and. val_runner=='')val_runner='echo'
331328
cmd_settings=fpm_run_settings(&
332329
& args=remaining,&
333330
& profile=val_profile,&
@@ -345,7 +342,6 @@ subroutine get_command_line_settings(cmd_settings)
345342
& build_tests=.false.,&
346343
& name=names,&
347344
& runner=val_runner,&
348-
& runner_args=val_runner_args,&
349345
& verbose=lget('verbose') )
350346

351347
case('build')
@@ -577,7 +573,6 @@ subroutine get_command_line_settings(cmd_settings)
577573
allocate(fpm_test_settings :: cmd_settings)
578574
val_runner=sget('runner')
579575
if(specified('runner') .and. val_runner=='')val_runner='echo'
580-
val_runner_args=sget('runner-args')
581576
cmd_settings=fpm_test_settings(&
582577
& args=remaining, &
583578
& profile=val_profile, &
@@ -595,7 +590,6 @@ subroutine get_command_line_settings(cmd_settings)
595590
& build_tests=.true., &
596591
& name=names, &
597592
& runner=val_runner, &
598-
& runner_args=val_runner_args, &
599593
& verbose=lget('verbose') )
600594

601595
case('update')

0 commit comments

Comments
 (0)