diff options
author | Laurence Kedward <laurence.kedward@bristol.ac.uk> | 2021-11-27 18:23:53 +0000 |
---|---|---|
committer | Laurence Kedward <laurence.kedward@bristol.ac.uk> | 2021-11-29 11:54:10 +0000 |
commit | fc058eca31036584649cd3b712a649e9dd01c2d7 (patch) | |
tree | d7f4d378500f41a5c39504e658df77a4a0659157 | |
parent | 93b629e504900432ea712cc3ed65dd937483e1c1 (diff) | |
download | fpm-fc058eca31036584649cd3b712a649e9dd01c2d7.tar.gz fpm-fc058eca31036584649cd3b712a649e9dd01c2d7.zip |
Update: backend to print message if up to date.
-rw-r--r-- | src/fpm_backend.F90 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/fpm_backend.F90 b/src/fpm_backend.F90 index 796c7ac..f8d491f 100644 --- a/src/fpm_backend.F90 +++ b/src/fpm_backend.F90 @@ -92,6 +92,12 @@ subroutine build_package(targets,model,verbose) ! Construct build schedule queue call schedule_targets(queue, schedule_ptr, targets) + ! Check if queue is empty + if (.not.verbose .and. size(queue) < 1) then + write(*,*) 'Project is up to date' + return + end if + ! Initialise build status flags allocate(stat(size(queue))) stat(:) = 0 |