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