From fc058eca31036584649cd3b712a649e9dd01c2d7 Mon Sep 17 00:00:00 2001 From: Laurence Kedward Date: Sat, 27 Nov 2021 18:23:53 +0000 Subject: Update: backend to print message if up to date. --- src/fpm_backend.F90 | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/fpm_backend.F90') 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 -- cgit v1.2.3