Skip to content

Commit 2b7f3bb

Browse files
committed
add footer
1 parent d5699f9 commit 2b7f3bb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/myrustlib/vendor-authors.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ packages <- subset(packages, sapply(packages$authors, length) > 0 & name != 'myr
66
authors <- vapply(packages$authors, function(x) paste(sub(" <.*>", "", x), collapse = ', '), character(1))
77
lines <- sprintf(" - %s %s: %s", packages$name, packages$version, authors)
88
dir.create('../../inst', showWarnings = FALSE)
9-
writeLines(c('Authors of vendored cargo crates', lines), '../../inst/AUTHORS')
9+
footer <- sprintf("\n(This file was auto-generated from 'cargo metadata' on %s)", Sys.Date())
10+
writeLines(c('Authors of vendored cargo crates', lines, footer), '../../inst/AUTHORS')

0 commit comments

Comments
 (0)