Skip to content

Commit 63088bc

Browse files
committed
Add sysdeps to topics to make them searchable
1 parent 2f9bdb9 commit 63088bc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

R/buildtools.R

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -889,12 +889,15 @@ generate_metadata_files <- function(package, repo, subdir, outdir, pkgdir, git_u
889889
}
890890
if(file.exists('/NEED_FORTRAN')){
891891
contents$fortran <- jsonlite::unbox(TRUE)
892+
contents$topics <- unique(c(contents$topics, 'fortran'))
892893
}
893894
if(file.exists('/NEED_CARGO')){
894895
contents$cargo <- jsonlite::unbox(TRUE)
896+
contents$topics <- unique(c(contents$topics, c("rust", "cargo")))
895897
}
896898
if(file.exists('/NEED_GOLANG')){
897899
contents$golang <- jsonlite::unbox(TRUE)
900+
contents$topics <- unique(c(contents$topics, c("golang")))
898901
}
899902
contents$assets <- assets
900903
contents$homeurl <- jsonlite::unbox(homeurl)

0 commit comments

Comments
 (0)