Skip to content

Commit

Permalink
Also clean up assets in build script
Browse files Browse the repository at this point in the history
  • Loading branch information
jemus42 committed Apr 4, 2018
1 parent d393012 commit e342d7e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.R
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ if (file.exists("_bookdown_files")) {
cat("Removing \"_bookdown_files\"...\n")
system(command = "rm -r _bookdown_files")
}
if (file.exists("assets")) {
cat("Removing \"assets\"...\n")
system(command = "rm -r assets")
}

htmls <- list.files(pattern = ".html")
if (length(htmls) != 0) {
Expand Down

0 comments on commit e342d7e

Please sign in to comment.