Path made user-independent
This commit is contained in:
parent
3d4177a85f
commit
a75f055915
|
|
@ -1,8 +1,8 @@
|
|||
$appName = File.basename(Dir['../*.xcworkspace'].first, '.*')
|
||||
|
||||
before_all do |lane, options|
|
||||
podsReposPath = "/Users/builder/.cocoapods/repos/master/"
|
||||
lockFilePath = "#{podsReposPath}.git/index.lock"
|
||||
podsReposPath = File.expand_path "~/.cocoapods/repos/master/"
|
||||
lockFilePath = "#{podsReposPath}/.git/index.lock"
|
||||
|
||||
# check if .lock file exists in pod repos - then remove all master repo
|
||||
if File.exists? lockFilePath
|
||||
|
|
|
|||
Loading…
Reference in New Issue