From 922cfefed244173d7f22c23c2dd5f356a0438014 Mon Sep 17 00:00:00 2001 From: Ben Varick Date: Mon, 17 Nov 2025 14:57:49 -0700 Subject: [PATCH] added Makefile --- Makefile | 3 +++ html/.gitignore | 4 ++++ 2 files changed, 7 insertions(+) create mode 100644 Makefile create mode 100644 html/.gitignore diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..a93e9a2 --- /dev/null +++ b/Makefile @@ -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")' + diff --git a/html/.gitignore b/html/.gitignore new file mode 100644 index 0000000..5e7d273 --- /dev/null +++ b/html/.gitignore @@ -0,0 +1,4 @@ +# Ignore everything in this directory +* +# Except this file +!.gitignore