File: main.R

package info (click to toggle)
r-cran-bslib 0.9.0%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 12,412 kB
  • sloc: javascript: 13,349; makefile: 33; sh: 23
file content (19 lines) | stat: -rw-r--r-- 446 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
if (!identical(getwd(), rprojroot::find_package_root_file())) {
  stop("This script must be run from the top directory of the bslib package")
}

pkgload::load_all()

lapply(
  c(
    "yarn_install.R",
    "download_preset_fonts.R",
    "update_gfont_info.R",
    "expand_variables_article_template.R",
    "compile_component_sass.R"
  ),
  function(file) {
    message("Updating: ", file)
    source(file.path("tools", file), local = TRUE)
  }
)