-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🔄 created local 'justfile' from remote 'justfile'
- Loading branch information
lwjohnst86
committed
Nov 9, 2024
1 parent
78d327b
commit aff2582
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
@_default: | ||
just --list --unsorted | ||
|
||
# Run all recipes | ||
run-all: install-dependencies spell-check style build-site | ||
|
||
# Install package dependencies | ||
install-dependencies: | ||
#!/usr/bin/Rscript | ||
pak::pak(ask = FALSE) | ||
|
||
# Check spelling of Markdown files | ||
spell-check: | ||
#!/usr/bin/Rscript | ||
files <- fs::dir_ls(here::here(), recurse = TRUE, regexp = "*\\.(md|qmd|Rmd)") | ||
spelling::spell_check_files(files) | ||
|
||
# Style all R code | ||
style: | ||
#!/usr/bin/Rscript | ||
styler::style_dir(here::here()) | ||
|
||
# Build pkgdown website | ||
build-site: | ||
quarto render |