From 030f09e86e869d6cc37f6714c8e5abbca15d8856 Mon Sep 17 00:00:00 2001 From: blundellc Date: Sat, 13 Sep 2008 13:27:56 +0000 Subject: [PATCH] latest_log: small tool to show the latest log messages for a failed or successful build of a package. git-svn-id: svn://svn.r-forge.r-project.org/svnroot/cran2deb@134 edb9625f-4e0d-4859-8d74-9fd3b1da38cb --- pkg/trunk/exec/latest_log | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 pkg/trunk/exec/latest_log diff --git a/pkg/trunk/exec/latest_log b/pkg/trunk/exec/latest_log new file mode 100644 index 0000000..055991a --- /dev/null +++ b/pkg/trunk/exec/latest_log @@ -0,0 +1,11 @@ +#!/usr/bin/env r +## DOC: cran2deb latest_log package1 package2 ... +## DOC: show the latest log output for +suppressMessages(library(cran2deb)) + +if (exists('argv')) { + for (pkg in argv) { + cat(db_latest_build(pkg)$log) + cat('\n') + } +} -- 2.39.5