Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fix for fastlane update and npm install

  • Loading branch information
Sharath Ganesh Pai authored and mahmoud-adam85 committed Sep 25, 2018
1 parent 0b9f37f commit ba1ea4519abb222fea8c4ddcdb1c440ff8ee3d41
Showing with 4 additions and 2 deletions.
  1. +1 −0 Jenkinsfile.nightly
  2. +1 −0 Jenkinsfile.publish
  3. +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

0 comments on commit ba1ea45

Please sign in to comment.