Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Fix for fastlane update and npm install
- Loading branch information
Showing
with
4 additions
and
2 deletions.
-
+1
−0
Jenkinsfile.nightly
-
+1
−0
Jenkinsfile.publish
-
+2
−2
fastlane/Fastfile
|
|
@@ -69,6 +69,7 @@ node('mac-vm-host') { |
|
|
xcodebuild -version |
|
|
pkgutil --pkg-info=com.apple.pkg.CLTools_Executables |
|
|
sudo xcodebuild -license accept |
|
|
gem install fastlane --no-document |
|
|
fastlane clearCache |
|
|
fastlane prepare |
|
|
pip install virtualenv |
|
|
|
|
|
@@ -67,6 +67,7 @@ node('mac-vm-host') { |
|
|
xcodebuild -version |
|
|
pkgutil --pkg-info=com.apple.pkg.CLTools_Executables |
|
|
sudo xcodebuild -license accept |
|
|
gem install fastlane --no-document |
|
|
fastlane clearCache |
|
|
fastlane prepare |
|
|
pip install virtualenv |
|
|
|
|
|
@@ -7,7 +7,7 @@ |
|
|
# |
|
|
|
|
|
# Uncomment the line if you want fastlane to automatically update itself |
|
|
update_fastlane |
|
|
# update_fastlane |
|
|
|
|
|
default_platform(:ios) |
|
|
|
|
|
@@ -49,7 +49,7 @@ platform :ios do |
|
|
lane :clearCache do |
|
|
|
|
|
# Remove the Cache |
|
|
sh("cd .. && rm -rf Cartfile.resolved Carthage node_modules Podfile.lock Pods && rm -rf ~/Library/Caches/org.carthage.CarthageKit") |
|
|
sh("cd .. && npm cache clean --force && rm -rf Cartfile.resolved Carthage node_modules Podfile.lock Pods && rm -rf ~/Library/Caches/org.carthage.CarthageKit") |
|
|
|
|
|
end |
|
|
|
|
|
|