Skip to content

Commit

Permalink
Add footer
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Aug 6, 2023
1 parent b098a35 commit abb1757
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/myrustlib/vendor-authors.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ packages <- subset(packages, sapply(packages$authors, length) > 0 & name != 'myr
authors <- vapply(packages$authors, function(x) paste(sub(" <.*>", "", x), collapse = ', '), character(1))
lines <- sprintf(" - %s %s: %s", packages$name, packages$version, authors)
dir.create('../../inst', showWarnings = FALSE)
writeLines(c('Authors of vendored cargo crates', lines), '../../inst/AUTHORS')
footer <- sprintf("\n(This file was auto-generated from 'cargo metadata' on %s)", Sys.Date())
writeLines(c('Authors of vendored cargo crates', lines, footer), '../../inst/AUTHORS')

0 comments on commit abb1757

Please sign in to comment.