Skip to content

Commit

Permalink
clean standalone src dir before zipping to reduce the release size
Browse files Browse the repository at this point in the history
  • Loading branch information
gdurif committed Mar 12, 2021
1 parent f3cfbfc commit 1bf5eb5
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions build/build_windows_standalone.R
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,6 @@ fs::file_copy(
overwrite = TRUE
)

# clean standalone source dir
fs::file_delete(
list.files(
file.path(win_dir, "src"), pattern = "diyabcGUI_",
full.names = TRUE
)
)

# diyabcGUI windows source
win_zip <- paste0("diyabcGUI_", pkg_version, ".zip")
fs::file_copy(
Expand All @@ -59,6 +51,14 @@ setwd(cwd)

Sys.sleep(2)

# clean standalone source dir before zipping
fs::file_delete(
list.files(
file.path(win_dir, "src"), pattern = "diyabcGUI_",
full.names = TRUE
)
)

# standalone name
app_version <- as.character(packageVersion(
"diyabcGUI", lib.loc = file.path(win_dir, "app", "library")
Expand Down

0 comments on commit 1bf5eb5

Please sign in to comment.