Skip to content

Commit

Permalink
tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
jangorecki committed Oct 18, 2024
1 parent bebe948 commit c3a6b2e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/pkgup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,7 @@ jobs:
if: github.ref == 'refs/heads/litedown'
run: |
R CMD INSTALL $(ls -1t pkgup_*.tar.gz | head -n 1) ## seems to be required
ls vignettes/*.Rmd
ls vignettes/*.html 2> /dev/null
ls pkgup/*.Rmd
ls pkgup/*.html 2> /dev/null
Rscript -e 'reorder_input2 = function(x) {i = is_index(x); index = x[i][which.min(nchar(x[i]))]; c(index, rev(setdiff(x, index)))}; environment(reorder_input2) <- asNamespace("litedown"); assignInNamespace("reorder_input", reorder_input2, ns="litedown"); litedown::fuse_site("pkgup")'
Rscript -e 'reorder_input2 = function(x) {i = is_index(x); index = x[i][which.min(nchar(x[i]))]; c(index, rev(setdiff(x, index)))}; environment(reorder_input2) <- asNamespace("litedown"); assignInNamespace("reorder_input", reorder_input2, ns="litedown"); litedown::fuse_site("pkgup")' ## hacking litedown to rev order so ./vignettes/*.html are generated before their index ./vignettes.html
mkdir -p public
find pkgup -name '*.html' -print0 | cpio -pvdmB --null public
ls -R public
Expand Down

0 comments on commit c3a6b2e

Please sign in to comment.