Make sure we bundle Swift runtime with the released generator.

This commit is contained in:
Tadeas Kriz 2018-04-04 10:42:09 +02:00
parent 68dae06d96
commit c6e23cdfc8
1 changed files with 4 additions and 1 deletions

View File

@ -33,7 +33,10 @@ platform :mac do
def upload_release release_type
# Building Cuckoo Generator
sh('../build_generator')
Dir.chdir('../Generator') do
sh('rm -rf .build')
sh('swift build --configuration release -Xswiftc -static-stdlib')
end
# Settings
cuckoo_gen_path = '../Generator/.build/release/cuckoo_generator'