Skip to content

Commit

Permalink
feat: add Parchment and modified Makefile, project.yml and file struc…
Browse files Browse the repository at this point in the history
…ture (#11)
  • Loading branch information
KaoruMuta authored Jul 14, 2020
1 parent 7b28453 commit d3abb56
Show file tree
Hide file tree
Showing 10 changed files with 131 additions and 88 deletions.
1 change: 1 addition & 0 deletions Cartfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
github "ReactiveX/RxSwift" == 5.0
github "Alamofire/Alamofire" == 5.2
github "rechsteiner/Parchment" == 2.4.0
1 change: 1 addition & 0 deletions Cartfile.resolved
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
github "Alamofire/Alamofire" "5.2.0"
github "ReactiveX/RxSwift" "5.0.0"
github "rechsteiner/Parchment" "v2.4.0"
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.PHONY: all
all: bundle_install_force xcodegen pods_force carthage_if_needed;
all: bundle_install_force xcodegen pods_force carthage_if_needed carthage_arrange_framework;

.PHONY: clean
clean: pods_cache_clear carthage_cache_clear carthage_derived_data_clear;
Expand Down Expand Up @@ -53,6 +53,12 @@ carthage:
carthage_if_needed:
test `find ./Carthage/Build/ 2>/dev/null | wc -l` -ne 0 || carthage bootstrap --platform iOS --cache-builds --no-use-binaries

# Consider Static library (RxSwift, etc.)
.PHONY: carthage_arrange_framework
carthage_arrange_framework:
mv ./Carthage/Build/iOS/Static/* ./Carthage/Build/iOS
rm -rf ./Carthage/Build/iOS/Static

.PHONY: carthage_cache_clear
carthage_cache_clear:
rm -rf ./Carthage
Expand Down
200 changes: 117 additions & 83 deletions QiitaChecker.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
9 changes: 5 additions & 4 deletions project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,17 @@ targets:
MARKETING_VERSIONS: 1.0.0
CURRENT_PROJECT_VERSION: 1
DEVELOPMENT_TEAM: Kaoru Muta
INFOPLIST_FILE: QiitaChecker/Info.plist
INFOPLIST_FILE: QiitaChecker/Common/Resource/Info.plist
PRODUCT_BUNDLE_IDENTIFIER: com.muta.QiitaChecker
dependencies:
- carthage: RxSwift.framework
- carthage: RxSwift
linkType: static
- carthage: RxCocoa.framework
- carthage: RxCocoa
linkType: static
- carthage: RxRelay.framework
- carthage: RxRelay
linkType: static
- carthage: Alamofire
- carthage: Parchment
preBuildScripts:
- script: |
Pods/SwiftLint/swiftlint autocorrect
Expand Down

0 comments on commit d3abb56

Please sign in to comment.