Skip to content

Commit 9eaf506

Browse files
committed
Update paths and run the Bolts build script for packaging.
1 parent a153a38 commit 9eaf506

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Rakefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ require_relative 'Vendor/xctoolchain/Scripts/xctask/build_framework_task'
1313
script_folder = File.expand_path(File.dirname(__FILE__))
1414
build_folder = File.join(script_folder, 'build')
1515
release_folder = File.join(build_folder, 'release')
16-
bolts_build_folder = File.join(script_folder, 'Vendor', 'Bolts-ObjC', 'build')
16+
bolts_folder = File.join(script_folder, 'Carthage', 'Checkouts', 'Bolts-iOS')
17+
bolts_build_folder = File.join(bolts_folder, 'build')
1718

1819
module Constants
1920
require 'plist'
@@ -154,6 +155,7 @@ namespace :package do
154155
task :prepare do
155156
`rm -rf #{build_folder} && mkdir -p #{build_folder}`
156157
`rm -rf #{bolts_build_folder} && mkdir -p #{bolts_build_folder}`
158+
`#{bolts_folder}/scripts/build_framework.sh -n -c Release --with-watchos --with-tvos`
157159
end
158160

159161
desc 'Build and package all frameworks for the release'

0 commit comments

Comments
 (0)