Skip to content

Commit

Permalink
build: use -prod flag
Browse files Browse the repository at this point in the history
  • Loading branch information
dy-tea committed Dec 2, 2024
1 parent e4a585f commit 934801f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.vsh
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ rm(linux_name) or {}
rm(windows_name) or {}

// Build for linux
sh('v -os linux .')
sh('v -os linux -prod .')
mv(name, linux_name) or { println('ERROR: Failed to rename linux build') }

// Build for windows
sh('v -os windows .')
sh('v -os windows -prod .')

// Print version
$if windows {
Expand Down

0 comments on commit 934801f

Please sign in to comment.