Skip to content

Commit b1fddf3

Browse files
authored
Merge pull request #229 from LKedward/refactor-run-cmd
Refactor run command
2 parents 26f2fd3 + 922a4e8 commit b1fddf3

File tree

5 files changed

+192
-195
lines changed

5 files changed

+192
-195
lines changed

fpm/app/main.f90

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ program main
77
fpm_test_settings, &
88
fpm_install_settings, &
99
get_command_line_settings
10-
use fpm, only: cmd_build, cmd_install, cmd_run, cmd_test
10+
use fpm, only: cmd_build, cmd_install, cmd_run
1111
use fpm_cmd_new, only: cmd_new
1212

1313
implicit none
@@ -22,9 +22,9 @@ program main
2222
type is (fpm_build_settings)
2323
call cmd_build(settings)
2424
type is (fpm_run_settings)
25-
call cmd_run(settings)
25+
call cmd_run(settings,test=.false.)
2626
type is (fpm_test_settings)
27-
call cmd_test(settings)
27+
call cmd_run(settings,test=.true.)
2828
type is (fpm_install_settings)
2929
call cmd_install(settings)
3030
end select

0 commit comments

Comments
 (0)