Skip to content

Commit

Permalink
Use scripts to install pkgx and bundler
Browse files Browse the repository at this point in the history
  • Loading branch information
waliid committed Dec 13, 2024
1 parent cfcc0fc commit a03b034
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,25 @@ archive-demo-tvos:
@Scripts/archive-demo.sh $(MODE) --platform tvos

.PHONY: deliver-demo-nightly-ios
deliver-demo-nightly-ios: install-pkgx install-bundler
deliver-demo-nightly-ios:
@Scripts/install-pkgx.sh
@Scripts/install-bundler.sh
@echo "Delivering demo nightly build for iOS..."
@pkgx +magick +rsvg-convert bundle exec fastlane deliver_demo_nightly_ios
@echo "... done.\n"

.PHONY: deliver-demo-nightly-tvos
deliver-demo-nightly-tvos: install-pkgx install-bundler
deliver-demo-nightly-tvos:
@Scripts/install-pkgx.sh
@Scripts/install-bundler.sh
@echo "Delivering demo nightly build for tvOS..."
@pkgx +magick +rsvg-convert bundle exec fastlane deliver_demo_nightly_tvos
@echo "... done.\n"

.PHONY: deliver-demo-release-ios
deliver-demo-release-ios: install-pkgx install-bundler
deliver-demo-release-ios:
@Scripts/install-pkgx.sh
@Scripts/install-bundler.sh
@echo "Delivering demo release build for iOS..."
@pkgx bundle exec fastlane deliver_demo_release_ios
@echo "... done.\n"
Expand All @@ -49,15 +55,19 @@ test-streams-stop: install-pkgx
@echo "... done.\n"

.PHONY: test-ios
test-ios: install-pkgx install-bundler
test-ios:
@Scripts/install-pkgx.sh
@Scripts/install-bundler.sh
@echo "Running unit tests..."
@Scripts/test-streams.sh -s
@pkgx bundle exec fastlane test_ios
@Scripts/test-streams.sh -k
@echo "... done.\n"

.PHONY: test-tvos
test-tvos: install-pkgx install-bundler
test-tvos:
@Scripts/install-pkgx.sh
@Scripts/install-bundler.sh
@echo "Running unit tests..."
@Scripts/test-streams.sh -s
@pkgx bundle exec fastlane test_tvos
Expand Down

0 comments on commit a03b034

Please sign in to comment.