fastlane-plugin-carthage_cache 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8fe7ced486e2ae193192ef8219478222d5c383f1
|
4
|
+
data.tar.gz: a80074e78297f8442f83c761c57ea9b3e34de63f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa7178e1f10942f1b82c6861a6008ba0be2408298d478f3a01b35d8523eaef08fa38530947972cc7f15bae3a0636a19a05583798fff2b97e5e70183a8ce26ed1
|
7
|
+
data.tar.gz: 73cf292b38d6ff8f4e069c3946b3f4690ad4ee83f0499d56a3c6148c9e940a14f17acab1441492b50954fc354234a0718e7adefc397415b381a918a470cb5c56
|
@@ -0,0 +1,33 @@
|
|
1
|
+
module Fastlane
|
2
|
+
module Actions
|
3
|
+
class CarthageCacheExistAction < Action
|
4
|
+
def self.run(params)
|
5
|
+
UI.message("Checking Amazon S3 for matching Carthage cache...")
|
6
|
+
check = `bundle exec carthage_cache exist --bucket-name #{params[:bucket]} -s 2>&1`.chomp
|
7
|
+
check == "true"
|
8
|
+
end
|
9
|
+
|
10
|
+
def self.description
|
11
|
+
%q{Check if Carthage cache exists for Cartfile.resolved in Amazon S3}
|
12
|
+
end
|
13
|
+
|
14
|
+
def self.authors
|
15
|
+
[%q{bfcrampton}]
|
16
|
+
end
|
17
|
+
|
18
|
+
def self.available_options
|
19
|
+
[
|
20
|
+
FastlaneCore::ConfigItem.new(key: :bucket,
|
21
|
+
env_name: "CARTHAGE_CACHE_BUCKET",
|
22
|
+
description: "Amazon S3 bucket name which caches your Carthage build",
|
23
|
+
optional: false,
|
24
|
+
type: String)
|
25
|
+
]
|
26
|
+
end
|
27
|
+
|
28
|
+
def self.is_supported?(platform)
|
29
|
+
[:ios, :mac, :tvos, :watchos].include?(platform)
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-carthage_cache
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thi Doan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-07-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: carthage_cache
|
@@ -89,6 +89,7 @@ files:
|
|
89
89
|
- LICENSE
|
90
90
|
- README.md
|
91
91
|
- lib/fastlane/plugin/carthage_cache.rb
|
92
|
+
- lib/fastlane/plugin/carthage_cache/actions/carthage_cache_exist.rb
|
92
93
|
- lib/fastlane/plugin/carthage_cache/actions/carthage_cache_install.rb
|
93
94
|
- lib/fastlane/plugin/carthage_cache/actions/carthage_cache_publish.rb
|
94
95
|
- lib/fastlane/plugin/carthage_cache/helper/carthage_cache_helper.rb
|