Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change name and add xcodegen #6

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ categories:
- 'bugfix'
- 'bug'
- title: '🧰 Maintenance'
label:
labels:
- 'maintenance'
- 'documentation'
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
Expand Down
26 changes: 23 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,30 @@ jobs:
runs-on: macos-latest

strategy:
fail-fast: false
matrix:
platform: ["iOS", "macOS"]
include:
- scheme: Hangul Platypus
platform: iOS
action: build
- scheme: Hangul Platypus
platform: macOS
action: build

steps:
- uses: actions/checkout@v2
- name: Release Build
run: xcodebuild -project Like\ Hangul.xcodeproj -scheme Like\ Hangul\ \(${{ matrix.platform }}\) -configuration Release | xcpretty
- uses: maxim-lobanov/setup-xcode@v1.3.0
with:
xcode-version: latest
- name: Install xcodegen
run: brew install xcodegen
- name: Generate xcodeproj
run: xcodegen generate
- uses: mxcl/xcodebuild@v1.9.2
with:
platform: ${{ matrix.platform }}
scheme: ${{ matrix.scheme }} (${{ matrix.platform }})
action: ${{ matrix.action }}
code-coverage: true
verbosity: xcpretty
upload-logs: always
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,9 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Install xcodegen
run: brew install xcodegen
- name: Generate xcodeproj
run: xcodegen generate
- name: Test
run: xcodebuild test -project Like\ Hangul.xcodeproj -scheme Tests\ ${{ matrix.platform }} -resultBundlePath HwpMac.xcresult | xcpretty
run: xcodebuild test -project Hangul\ Platypus.xcodeproj -scheme Tests\ ${{ matrix.platform }} -resultBundlePath HwpMac.xcresult
42 changes: 10 additions & 32 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,16 @@
## User settings
xcuserdata/

## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9)
*.xcscmblueprint
*.xccheckout

## compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4)
build/
DerivedData/
*.moved-aside
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
## Use xcodegen to create Xcode Project
/iOS/Info.plist
/macOS/Info.plist
/macOS/macOS.entitlements
## Except shared schemes
!*.xcodeproj/
*.xcodeproj/*
!*.xcodeproj/xcshareddata/
*.xcodeproj/xcshareddata/*
!*.xcodeproj/xcshareddata/xcschemes/

## Obj-C/Swift specific
*.hmap
Expand All @@ -30,22 +24,6 @@ DerivedData/
*.dSYM.zip
*.dSYM

## Playgrounds
timeline.xctimeline
playground.xcworkspace

# Swift Package Manager
#
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
# Packages/
# Package.pins
# Package.resolved
# *.xcodeproj
#
# Xcode automatically generates this directory with a .xcworkspacedata file and xcuserdata
# hence it is not needed unless you have added a package configuration file to your project
# .swiftpm

.build/

# fastlane
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "3625A03F25B6D35300C5C3FE"
BuildableName = "Like Hangul.app"
BlueprintName = "Like Hangul (iOS)"
ReferencedContainer = "container:Like Hangul.xcodeproj">
BlueprintIdentifier = "533C0A1A1598348400FC86D2"
BuildableName = "Hangul Platypus (iOS).app"
BlueprintName = "Hangul Platypus (iOS)"
ReferencedContainer = "container:Hangul Platypus.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
Expand All @@ -44,10 +44,10 @@
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "3625A03F25B6D35300C5C3FE"
BuildableName = "Like Hangul.app"
BlueprintName = "Like Hangul (iOS)"
ReferencedContainer = "container:Like Hangul.xcodeproj">
BlueprintIdentifier = "533C0A1A1598348400FC86D2"
BuildableName = "Hangul Platypus (iOS).app"
BlueprintName = "Hangul Platypus (iOS)"
ReferencedContainer = "container:Hangul Platypus.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</LaunchAction>
Expand All @@ -61,10 +61,10 @@
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "3625A03F25B6D35300C5C3FE"
BuildableName = "Like Hangul.app"
BlueprintName = "Like Hangul (iOS)"
ReferencedContainer = "container:Like Hangul.xcodeproj">
BlueprintIdentifier = "533C0A1A1598348400FC86D2"
BuildableName = "Hangul Platypus (iOS).app"
BlueprintName = "Hangul Platypus (iOS)"
ReferencedContainer = "container:Hangul Platypus.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "3625A04725B6D35300C5C3FE"
BuildableName = "Like Hangul.app"
BlueprintName = "Like Hangul (macOS)"
ReferencedContainer = "container:Like Hangul.xcodeproj">
BlueprintIdentifier = "93CC57129F2242AAD666FF3A"
BuildableName = "Hangul Platypus (macOS).app"
BlueprintName = "Hangul Platypus (macOS)"
ReferencedContainer = "container:Hangul Platypus.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
Expand All @@ -44,10 +44,10 @@
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "3625A04725B6D35300C5C3FE"
BuildableName = "Like Hangul.app"
BlueprintName = "Like Hangul (macOS)"
ReferencedContainer = "container:Like Hangul.xcodeproj">
BlueprintIdentifier = "93CC57129F2242AAD666FF3A"
BuildableName = "Hangul Platypus (macOS).app"
BlueprintName = "Hangul Platypus (macOS)"
ReferencedContainer = "container:Hangul Platypus.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</LaunchAction>
Expand All @@ -61,10 +61,10 @@
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "3625A04725B6D35300C5C3FE"
BuildableName = "Like Hangul.app"
BlueprintName = "Like Hangul (macOS)"
ReferencedContainer = "container:Like Hangul.xcodeproj">
BlueprintIdentifier = "93CC57129F2242AAD666FF3A"
BuildableName = "Hangul Platypus (macOS).app"
BlueprintName = "Hangul Platypus (macOS)"
ReferencedContainer = "container:Hangul Platypus.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,21 @@
<CodeCoverageTargets>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "3625A03F25B6D35300C5C3FE"
BuildableName = "Like Hangul.app"
BlueprintName = "Like Hangul (iOS)"
ReferencedContainer = "container:Like Hangul.xcodeproj">
BlueprintIdentifier = "533C0A1A1598348400FC86D2"
BuildableName = "Hangul Platypus (iOS).app"
BlueprintName = "Hangul Platypus (iOS)"
ReferencedContainer = "container:Hangul Platypus.xcodeproj">
</BuildableReference>
</CodeCoverageTargets>
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "3625A04F25B6D35300C5C3FE"
BlueprintIdentifier = "452B34CD36922972417C4359"
BuildableName = "Tests iOS.xctest"
BlueprintName = "Tests iOS"
ReferencedContainer = "container:Like Hangul.xcodeproj">
ReferencedContainer = "container:Hangul Platypus.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,21 @@
<CodeCoverageTargets>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "3625A04725B6D35300C5C3FE"
BuildableName = "Like Hangul.app"
BlueprintName = "Like Hangul (macOS)"
ReferencedContainer = "container:Like Hangul.xcodeproj">
BlueprintIdentifier = "93CC57129F2242AAD666FF3A"
BuildableName = "Hangul Platypus (macOS).app"
BlueprintName = "Hangul Platypus (macOS)"
ReferencedContainer = "container:Hangul Platypus.xcodeproj">
</BuildableReference>
</CodeCoverageTargets>
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "3625A05A25B6D35300C5C3FE"
BlueprintIdentifier = "31B0C0BACCDE38B6694D7902"
BuildableName = "Tests macOS.xctest"
BlueprintName = "Tests macOS"
ReferencedContainer = "container:Like Hangul.xcodeproj">
ReferencedContainer = "container:Hangul Platypus.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
Expand Down
Loading