Make sure we bundle Swift runtime with the released generator.
This commit is contained in:
parent
68dae06d96
commit
c6e23cdfc8
|
@ -33,7 +33,10 @@ platform :mac do
|
||||||
|
|
||||||
def upload_release release_type
|
def upload_release release_type
|
||||||
# Building Cuckoo Generator
|
# Building Cuckoo Generator
|
||||||
sh('../build_generator')
|
Dir.chdir('../Generator') do
|
||||||
|
sh('rm -rf .build')
|
||||||
|
sh('swift build --configuration release -Xswiftc -static-stdlib')
|
||||||
|
end
|
||||||
|
|
||||||
# Settings
|
# Settings
|
||||||
cuckoo_gen_path = '../Generator/.build/release/cuckoo_generator'
|
cuckoo_gen_path = '../Generator/.build/release/cuckoo_generator'
|
||||||
|
|
Loading…
Reference in New Issue