taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

commit 23c7b571077b5f8772deea7287567a40a8d21be5
parent eb0957b02c7158de33d1066fd7fd12843919edfd
Author: ms <ms@taler.net>
Date:   Fri, 24 Sep 2021 14:03:59 +0200

Build if dependency was built after.

Diffstat:
Mbin/WIP/taler-local | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/bin/WIP/taler-local b/bin/WIP/taler-local @@ -311,6 +311,11 @@ def get_stale_repos(repos: List[Repo]) -> List[Repo]: if not s.exists(): timestamps[r.name] = time.time() stale.append(r) + ts = timestamps[r.name] = s.stat().st_mtime + for dep in r.deps: + if timestamps[dep] > ts: + stale.append(r) + break return stale @cli.command()