Skip to content

Commit

Permalink
Try again with the build script
Browse files Browse the repository at this point in the history
  • Loading branch information
sol-vin committed Jun 19, 2024
1 parent ee3eeab commit e1ea32a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rsrc/build-examples/build.cr
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ FileUtils.cd("examples") do
windows = ""

{% if flag?(:windows) %}
windows = "--subsystem:windows"
windows = "--link-flags subsystem:windows"
{% end %}

output = `crystal build --release -s -p -t -o ../_build/#{path.basename} ./src/#{path.basename}.cr --link-flags #{windows}`
output = `crystal build --release -s -p -t -o ../_build/#{path.basename} ./src/#{path.basename}.cr #{windows}`

file = "../_build/#{name}"
{% if flag?(:windows) %}
Expand Down

0 comments on commit e1ea32a

Please sign in to comment.