Skip to content

Commit d3fe4a3

Browse files
committed
Upgrade build process
1 parent e052653 commit d3fe4a3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Ruby/Rakefile

+5-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,11 @@ task :update_build do
2828
mkdir "vendor"
2929

3030
sh "unzip -o -d vendor #{zipfile}"
31-
mv "vendor/#{filename}", "vendor/terminal-notifier"
31+
mv "vendor/#{filename}", 'vendor/terminal-notifier'
32+
33+
%x(xcodebuild -project '../Terminal\ Notifier.xcodeproj' -target terminal-notifier SYMROOT=build -verbose)
34+
mv '../build/Release/terminal-notifier.app', 'vendor/terminal-notifier/'
35+
chmod 0755, 'vendor/terminal-notifier/terminal-notifier.app/Contents/MacOS/terminal-notifier'
3236
end
3337

3438
desc "Build gem"

0 commit comments

Comments
 (0)