diff --git a/.gitignore b/.gitignore index 1bef8037f..3df7521ab 100644 --- a/.gitignore +++ b/.gitignore @@ -41,9 +41,7 @@ vignettes/results # unused figures man/figures/*.png -inst/stan/dist_fit -inst/stan/estimate_infections -inst/stan/simulate_infections -inst/stan/estimate_secondary -inst/stan/simulate_secondary -inst/stan/estimate_truncation +# exclude compiled stan files +inst/stan/* +!inst/stan/*/ +!inst/stan/*.stan