Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Commit

Permalink
Added logic to enhance the build time
Browse files Browse the repository at this point in the history
* Now pod command will run 'pod repo update' only when a Podfile is modified or when you force it using update|repo-update|pod-repo-update bool argument
  • Loading branch information
SotoiGhost committed Mar 19, 2018
1 parent b8a48d7 commit c5e6444
Show file tree
Hide file tree
Showing 28 changed files with 116 additions and 81 deletions.
6 changes: 3 additions & 3 deletions Firebase.AdMob/externals/Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
POD=pod

all: Podfile.lock
all: Pods

Podfile.lock :
Pods:
$(POD) install

clean:
rm -rf Podfile.lock Pods
rm -rf Pods

.PHONY: all clean

Expand Down
6 changes: 3 additions & 3 deletions Firebase.Analytics/externals/Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
POD=pod

all: Podfile.lock
all: Pods

Podfile.lock:
Pods:
$(POD) install

clean:
rm -rf Podfile.lock Pods
rm -rf Pods

.PHONY: all clean
6 changes: 3 additions & 3 deletions Firebase.Auth/externals/Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@

POD=pod

all: Podfile.lock
all: Pods

Podfile.lock :
Pods:
$(POD) install

clean:
rm -rf Podfile.lock Pods
rm -rf Pods

.PHONY: all clean
6 changes: 3 additions & 3 deletions Firebase.CloudMessaging/externals/Makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@

POD=pod

all: Podfile.lock
all: Pods

Podfile.lock :
Pods:
$(POD) install

clean:
rm -rf Podfile.lock Pods
rm -rf Pods

.PHONY: all clean

Expand Down
6 changes: 3 additions & 3 deletions Firebase.Core/externals/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ PROJECT_ROOT=./Pods
PROJECT=$(PROJECT_ROOT)/Pods.xcodeproj
TARGETS=GoogleToolboxForMac nanopb GTMSessionFetcher Protobuf

all: Podfile.lock $(TARGETS)
all: Pods $(TARGETS)

Podfile.lock:
Pods:
$(POD) install

$(TARGETS):
Expand All @@ -26,7 +26,7 @@ $(TARGETS):
-mv ./build/Release-iphonesimulator/$(currentTarget)/lib$(currentTarget).a $@

clean:
@ rm -rf Podfile.lock Pods build
@ rm -rf Pods build
@ for target in $(TARGETS); do \
rm -f $$target*; \
done
Expand Down
6 changes: 3 additions & 3 deletions Firebase.CrashReporting/externals/Makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@

POD=pod

all: Podfile.lock
all: Pods

Podfile.lock :
Pods:
$(POD) install

clean:
rm -rf Podfile.lock Pods
rm -rf Pods

.PHONY: all clean

Expand Down
6 changes: 3 additions & 3 deletions Firebase.Database/externals/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ PROJECT_ROOT=./Pods
PROJECT=$(PROJECT_ROOT)/Pods.xcodeproj
TARGETS=leveldb-library

all: Podfile.lock $(TARGETS)
all: Pods $(TARGETS)

Podfile.lock:
Pods:
$(POD) install

$(TARGETS):
Expand All @@ -26,7 +26,7 @@ $(TARGETS):
-mv ./build/Release-iphonesimulator/$(currentTarget)/lib$(currentTarget).a $@

clean:
@ rm -rf Podfile.lock Pods build
@ rm -rf Pods build
@ for target in $(TARGETS); do \
rm -f $$target*; \
done
Expand Down
6 changes: 3 additions & 3 deletions Firebase.DynamicLinks/externals/Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@

POD=pod

all: Podfile.lock
all: Pods

Podfile.lock :
Pods:
$(POD) install

clean:
rm -rf Podfile.lock Pods
rm -rf Pods

.PHONY: all clean
6 changes: 3 additions & 3 deletions Firebase.InstanceID/externals/Makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@

POD=pod

all: Podfile.lock
all: Pods

Podfile.lock :
Pods:
$(POD) install

clean:
rm -rf Podfile.lock Pods
rm -rf Pods

.PHONY: all clean

Expand Down
6 changes: 3 additions & 3 deletions Firebase.Invites/externals/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ PROJECT_ROOT=./Pods
PROJECT=$(PROJECT_ROOT)/Pods.xcodeproj
TARGETS=GoogleAPIClientForREST

all: Podfile.lock $(TARGETS)
all: Pods $(TARGETS)

Podfile.lock:
Pods:
$(POD) install

$(TARGETS):
Expand All @@ -26,7 +26,7 @@ $(TARGETS):
-mv ./build/Release-iphonesimulator/$(currentTarget)/lib$(currentTarget).a $@

clean:
@ rm -rf Podfile.lock Pods build
@ rm -rf Pods build
@ for target in $(TARGETS); do \
rm -f $$target*; \
done
Expand Down
6 changes: 3 additions & 3 deletions Firebase.PerformanceMonitoring/externals/Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@

POD=pod

all: Podfile.lock
all: Pods

Podfile.lock :
Pods:
$(POD) install

clean:
rm -rf Podfile.lock Pods
rm -rf Pods

.PHONY: all clean
6 changes: 3 additions & 3 deletions Firebase.RemoteConfig/externals/Makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@

POD=pod

all: Podfile.lock
all: Pods

Podfile.lock :
Pods:
$(POD) install

clean:
rm -rf Podfile.lock Pods
rm -rf Pods

.PHONY: all clean

Expand Down
6 changes: 3 additions & 3 deletions Firebase.Storage/externals/Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@

POD=pod

all: Podfile.lock
all: Pods

Podfile.lock :
Pods:
$(POD) install

clean:
rm -rf Podfile.lock Pods
rm -rf Pods

.PHONY: all clean
6 changes: 3 additions & 3 deletions Google.Analytics/externals/Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
POD=pod

all: Podfile.lock
all: Pods

Podfile.lock:
Pods:
$(POD) install

clean:
rm -rf Podfile.lock Pods
rm -rf Pods

.PHONY: all clean
6 changes: 3 additions & 3 deletions Google.AppIndexing/externals/Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
POD=pod

all: Podfile.lock
all: Pods

Podfile.lock :
Pods:
$(POD) install

clean:
rm -rf Podfile.lock Pods
rm -rf Pods

.PHONY: all clean

Expand Down
6 changes: 3 additions & 3 deletions Google.AppInvite/externals/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ INFODIRS=Pods
POD=pod


all: Podfile.lock Info.plist
all: Pods Info.plist

Podfile.lock :
Pods:
$(POD) install

### Temporary workaround. Removes the CFBundleExecutable key from Info.plist files that causes Apple rejection.
Expand All @@ -25,7 +25,7 @@ Info.plist:
###

clean:
rm -rf Podfile.lock Pods
rm -rf Pods

.PHONY: all clean

Expand Down
6 changes: 3 additions & 3 deletions Google.Cast/externals/Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
POD=pod

all: Podfile.lock
all: Pods

Podfile.lock :
Pods:
$(POD) install

clean:
rm -rf Podfile.lock Pods
rm -rf Pods

.PHONY: all clean
6 changes: 3 additions & 3 deletions Google.Core/externals/Makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@

POD=pod

all: Podfile.lock
all: Pods

Podfile.lock :
Pods:
$(POD) install

clean:
rm -rf Podfile.lock Pods
rm -rf Pods

.PHONY: all clean

Expand Down
6 changes: 3 additions & 3 deletions Google.GoogleCloudMessaging/externals/Makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@

POD=pod

all: Podfile.lock
all: Pods

Podfile.lock :
Pods:
$(POD) install

clean:
rm -rf Podfile.lock Pods
rm -rf Pods

.PHONY: all clean

Expand Down
6 changes: 3 additions & 3 deletions Google.InstanceID/externals/Makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@

POD=pod

all: Podfile.lock
all: Pods

Podfile.lock :
Pods:
$(POD) install

clean:
rm -rf Podfile.lock Pods
rm -rf Pods

.PHONY: all clean

Expand Down
6 changes: 3 additions & 3 deletions Google.Maps/externals/Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@

POD=pod

all: Podfile.lock
all: Pods

Podfile.lock :
Pods:
$(POD) install

clean:
rm -rf Podfile.lock Pods
rm -rf Pods

.PHONY: all clean
6 changes: 3 additions & 3 deletions Google.MobileAds/externals/Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@

POD=pod

all: Podfile.lock
all: Pods

Podfile.lock:
Pods:
$(POD) install

clean:
rm -rf Podfile.lock Pods
rm -rf Pods

.PHONY: all clean
6 changes: 3 additions & 3 deletions Google.Places/externals/Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@

POD=pod

all: Podfile.lock
all: Pods

Podfile.lock :
Pods:
$(POD) install

clean:
rm -rf Podfile.lock Pods
rm -rf Pods

.PHONY: all clean
Loading

0 comments on commit c5e6444

Please sign in to comment.