From: blundellc Date: Sat, 13 Sep 2008 13:19:15 +0000 (+0000) Subject: ctv: make CRAN task view mass building work again. X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=d354a4527c8b48fe3f5aaf2694d5ee100cadc22d;p=cran2deb.git ctv: make CRAN task view mass building work again. this just means you can now do: $ cran2deb build_ctv to build every task view, whereas previously the code had not be adapted to use the cran2deb wrapper script. git-svn-id: svn://svn.r-forge.r-project.org/svnroot/cran2deb@65 edb9625f-4e0d-4859-8d74-9fd3b1da38cb --- diff --git a/pkg/trunk/exec/cran_pkgs b/pkg/trunk/exec/cran_pkgs new file mode 100755 index 0000000..ba9e727 --- /dev/null +++ b/pkg/trunk/exec/cran_pkgs @@ -0,0 +1,21 @@ +#!/usr/bin/env r + +library(cran2deb) + +if (length(argv) == 0) { + writeLines(sample(dimnames(available)[[1]],800)) + #writeLines(dimnames(available)[[1]]) +} else { + if (argv[1] == 'query') { + for (ctv in ctv.available) { + writeLines(ctv$name) + } + q(save='no') + } + # list of task lists + for (ctv in ctv.available) { + if (ctv$name %in% argv) { + writeLines(ctv$packagelist$name) + } + } +} diff --git a/pkg/trunk/exec/cranpkgs b/pkg/trunk/exec/cranpkgs deleted file mode 100755 index ba9e727..0000000 --- a/pkg/trunk/exec/cranpkgs +++ /dev/null @@ -1,21 +0,0 @@ -#!/usr/bin/env r - -library(cran2deb) - -if (length(argv) == 0) { - writeLines(sample(dimnames(available)[[1]],800)) - #writeLines(dimnames(available)[[1]]) -} else { - if (argv[1] == 'query') { - for (ctv in ctv.available) { - writeLines(ctv$name) - } - q(save='no') - } - # list of task lists - for (ctv in ctv.available) { - if (ctv$name %in% argv) { - writeLines(ctv$packagelist$name) - } - } -}