Skip to content

Commit

Permalink
🔄 created local 'justfile' from remote 'justfile'
Browse files Browse the repository at this point in the history
  • Loading branch information
lwjohnst86 committed Nov 9, 2024
1 parent 78d327b commit aff2582
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions justfile
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

0 comments on commit aff2582

Please sign in to comment.