X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=branch%2Fpatch%2Fexec%2Flatest_log;fp=branch%2Fpatch%2Fexec%2Flatest_log;h=055991a627b6ce5af68b052d0474451268959b0a;hb=75ac4a666a0faa4a2d09aeed4db94746c097b1ca;hp=0000000000000000000000000000000000000000;hpb=7c74d4e371b7ecda2035aa106918b0427818cacf;p=cran2deb.git diff --git a/branch/patch/exec/latest_log b/branch/patch/exec/latest_log new file mode 100644 index 0000000..055991a --- /dev/null +++ b/branch/patch/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') + } +}