Skip to content

Commit

Permalink
[PBIOS-135] Cleanup Makefile + Jenkinsfile (#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
thestephenmarshall authored Oct 25, 2023
1 parent 7804821 commit 1d2d4ec
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 66 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def steps = [
'iOS': {
runNode {
getReleaseNotes()
def args = "build_number:${buildNumber} type:${buildType()}"
def args = "type:${buildType()}"
// prepareToBuild(buildType())
buildAndShipiOS(args)
}
Expand Down
63 changes: 0 additions & 63 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,6 @@ help:
@echo
@echo " dependencies Install project dependencies."
@echo
@echo " proj Runs nitro and opens Xcode."
@echo " nitro Nitro Connect for development and debug."
@echo " nitro-beta Nitro Connect for beta release."
@echo " nitro-rc Nitro Connect for RC release."
@echo " nitro-production Nitro Connect for production release."
@echo
@echo " tempo Tempo Connect for development and debug."
@echo " tempo-beta Tempo Connect for beta release."
@echo " tempo-rc Tempo Connect for RC release."
@echo " tempo-production Tempo Connect for production release."
@echo
@echo " docker Starts a local server."
@echo " docker-stop Stops the local server."
@echo
Expand All @@ -40,15 +29,6 @@ define dependencies
@bash script_install_dependencies.sh
endef

define setup
@osascript -e 'quit app "Xcode"'
rm -rf Connect.xcodeproj
rm -rf Connect.xcworkspace
rm -rf Pods
xcodegen generate -s $(1).yml
asdf exec bundle exec pod install
endef

define runDockerAndFastlane
nohup caffeinate -ut 900 &
if $(MAKE) docker && asdf exec bundle exec fastlane $(1); then \
Expand All @@ -66,33 +46,6 @@ endef
dependencies:
$(call dependencies)

proj:
$(MAKE) nitro-debug
sleep 1 && xed .

proj-tempo:
$(MAKE) tempo
sleep 1 && xed .

#
# Nitro
#

nitro-testing:
$(call setup,project_config_testing)

nitro-debug:
$(call setup,project_config_debug)

nitro-beta:
$(call setup,project_config_beta)

nitro-rc:
$(call setup,project_config_rc)

nitro-production:
$(call setup,project_config_production)

#
# Docker
#
Expand Down Expand Up @@ -144,19 +97,3 @@ test-iphone:
test-ipad:
$(call runDockerAndFastlane,run_tests_ipad)
$(MAKE) docker-stop

#
# Tempo
#

tempo:
$(call setup,project_config_debug_tempo)

tempo-beta:
$(call setup,project_config_beta_tempo)

tempo-rc:
$(call setup,project_config_rc_tempo)

tempo-production:
$(call setup,project_config_production_tempo)
2 changes: 0 additions & 2 deletions Makefile2

This file was deleted.

0 comments on commit 1d2d4ec

Please sign in to comment.