build: Copy terminfo resources from xcodeproj

This should fix #158. Instead of manually copying the resources, we
create a relative dependency from the xcodeproj directly so that
xcodebuild should handle this for us.
This commit is contained in:
Mitchell Hashimoto
2023-06-25 09:09:23 -07:00
parent d1c8d74ab4
commit f9978e8524
2 changed files with 12 additions and 6 deletions

View File

@@ -96,12 +96,6 @@ jobs:
- name: Build Ghostty.app
run: cd macos && xcodebuild -configuration Release
# Copy the resources we build during zig build into the final Ghostty.app
- name: Copy Resources
run: |
# Terminfo
cp -R zig-out/Ghostty.app/Contents/Resources/terminfo macos/build/Release/Ghostty.app/Contents/Resources/terminfo
# We inject the "build number" as simply the number of commits since HEAD.
# This will be a monotonically always increasing build number that we use.
- name: Inject Build Number