From 302e3b7f447d2ab776030a720441694a374f59c6 Mon Sep 17 00:00:00 2001 From: Clyybber Date: Wed, 24 Jun 2020 17:27:46 +0200 Subject: [PATCH] CI: Install the pkg we cloned (#14770) --- lib/std/private/nimbleutils.nim | 32 ------------------- testament/categories.nim | 53 ++++++++++++++++++++++---------- testament/important_packages.nim | 17 +++++----- 3 files changed, 45 insertions(+), 57 deletions(-) delete mode 100644 lib/std/private/nimbleutils.nim diff --git a/lib/std/private/nimbleutils.nim b/lib/std/private/nimbleutils.nim deleted file mode 100644 index 297fb9695..000000000 --- a/lib/std/private/nimbleutils.nim +++ /dev/null @@ -1,32 +0,0 @@ -##[ -internal API for now, API subject to change -]## - -import std/[os,osproc,sugar,strutils] - -proc actionRetry*(maxRetry: int, backoffDuration: float, action: proc(): bool): bool = - ## retry `action` up to `maxRetry` times with exponential backoff and initial - ## duraton of `backoffDuration` seconds - var t = backoffDuration - for i in 0..