Skip to content

Commit fc058ec

Browse files
committed
Update: backend to print message if up to date.
1 parent 93b629e commit fc058ec

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/fpm_backend.F90

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,12 @@ subroutine build_package(targets,model,verbose)
9292
! Construct build schedule queue
9393
call schedule_targets(queue, schedule_ptr, targets)
9494

95+
! Check if queue is empty
96+
if (.not.verbose .and. size(queue) < 1) then
97+
write(*,*) 'Project is up to date'
98+
return
99+
end if
100+
95101
! Initialise build status flags
96102
allocate(stat(size(queue)))
97103
stat(:) = 0

0 commit comments

Comments
 (0)