Skip to content

Commit

Permalink
Fix TestApp Makefile (readium#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
mickael-menu authored Nov 9, 2021
1 parent b05597a commit b4a9358
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Support/Carthage/project-as-submodule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ targets:
- framework: Fuzi.framework
- framework: Minizip.framework
- framework: SQLite.framework
- framework: ZIPFoundation..framework
- framework: ZIPFoundation.framework
- target: R2Shared
settings:
PRODUCT_BUNDLE_IDENTIFIER: org.readium.readium-lcp-swift
Expand Down
6 changes: 3 additions & 3 deletions TestApp/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = `git describe --tags --match [0-9]* --abbrev=0 2> /dev/null`
version = `git describe --tags --abbrev=0 2> /dev/null`
ifdef commit
version = $(commit)
endif
Expand Down Expand Up @@ -32,9 +32,9 @@ else
@cp Integrations/SPM/project.yml .
endif
ifdef commit
@sed -i "" -e "s>VERSION>revision: $(version)>g" project.yml
@sed -i "" -e "s>VERSION>revision: $(commit)>g" project.yml
else
@sed -i "" -e "s>VERSION>from: $(commit)>g" project.yml
@sed -i "" -e "s>VERSION>from: $(version)>g" project.yml
endif
xcodegen generate
@echo "\nopen TestApp.xcodeproj"
Expand Down

0 comments on commit b4a9358

Please sign in to comment.