added Makefile

This commit is contained in:
Ben Varick 2025-11-17 14:57:49 -07:00
parent 52a85d4d50
commit 922cfefed2
Signed by: ben
SSH key fingerprint: SHA256:jWnpFDAcacYM5aPFpYRqlsamlDyKNpSj3jj+k4ojtUo
2 changed files with 7 additions and 0 deletions

3
Makefile Normal file
View file

@ -0,0 +1,3 @@
city_compare: city_compare.Rmd
R -e 'library("rmarkdown"); old_path <- Sys.getenv("PATH"); Sys.setenv(PATH = paste(old_path, "/usr/local/bin", sep = ":")); rmarkdown::render(knit_root_dir = "./", output_dir = "./html", input = "./city_compare.Rmd", output_file = "./html/city_compare.html")'

4
html/.gitignore vendored Normal file
View file

@ -0,0 +1,4 @@
# Ignore everything in this directory
*
# Except this file
!.gitignore