fastlane-plugin-xcake 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 263d2743890ad42181e10d9a797cbc3687ae5a29
4
+ data.tar.gz: 03c83aa802600e08078342371f64f6716b087a8b
5
+ SHA512:
6
+ metadata.gz: f172669212d286e6de4e4bd93fbdbaefff3927845907bcb553e8778e5ef6a1902578307f4f45c70d5e6bbd395e5083b3669c5d508676093290d12bf0a4386f58
7
+ data.tar.gz: ec7978553e96198316ba76bef6e48f0a5716acc17ce660ee0078c25d9764654d47d5935a909cc3af765a4b0839a8f3285c3bf991dd2bac356c07aabe5b651e07
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 fastlane
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,31 @@
1
+ # xcake `fastlane` Plugin
2
+
3
+ [![Gem](https://raw.githubusercontent.com/fastlane/fastlane/master/fastlane/lib/fastlane/plugins/templates/assets/plugin-badge.svg)](https://rubygems.org/gems/fastlane-plugin-xcake)
4
+
5
+ ## Getting Started
6
+
7
+ This project is a [fastlane](https://github.com/fastlane/fastlane) plugin. To get started with fastlane-plugin-xcake, add it to your project by running:
8
+
9
+ ```bash
10
+ fastlane add_plugin xcake
11
+ ```
12
+
13
+ ## About xcake
14
+
15
+ Generate project using `xcake make`.
16
+
17
+ ## Issues and Feedback
18
+
19
+ For any other issues and feedback about this plugin, please submit it to this repository.
20
+
21
+ ## Troubleshooting
22
+
23
+ For some more detailed help with plugins problems, check out the [Plugins Troubleshooting](https://github.com/fastlane/fastlane/blob/master/fastlane/docs/PluginsTroubleshooting.md) doc in the main `fastlane` repo.
24
+
25
+ ## Using `fastlane` Plugins
26
+
27
+ For more information about how the `fastlane` plugin system works, check out the [Plugins documentation](https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Plugins.md) in the main `fastlane` repo.
28
+
29
+ ## About `fastlane`
30
+
31
+ `fastlane` automates building, testing, and releasing your app for beta and app store distributions. To learn more about `fastlane`, check out [fastlane.tools](https://fastlane.tools).
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
@@ -0,0 +1,25 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'fastlane/plugin/xcake/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'fastlane-plugin-xcake'
8
+ spec.version = Fastlane::Xcake::VERSION
9
+ spec.authors = ["James Campbell"]
10
+ spec.email = ["james@supmenow.com"]
11
+
12
+ spec.summary = %q{DSL for Xcode Projects.}
13
+ spec.description = %q{Create your Xcode projects automatically using a stupid simple DSL.}
14
+ spec.homepage = "https://github.com/jcampbell05/xcake/"
15
+ spec.license = 'MIT'
16
+
17
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
+ spec.require_paths = ['lib']
19
+
20
+ spec.add_dependency 'xcake'
21
+
22
+ spec.add_development_dependency 'rspec', '~> 3.4.0'
23
+ spec.add_development_dependency 'fastlane', '~> 1.89'
24
+ spec.add_development_dependency 'pry'
25
+ end
@@ -0,0 +1,16 @@
1
+ require 'fastlane/plugin/xcake/version'
2
+
3
+ module Fastlane
4
+ module Xcake
5
+ # Return all .rb files inside the "actions" and "helper" directory
6
+ def self.all_classes
7
+ Dir[File.expand_path('*/{actions,helper}/*.rb', File.dirname(__FILE__))]
8
+ end
9
+ end
10
+ end
11
+
12
+ # By default we want to import all available actions and helpers
13
+ # A plugin can contain any number of actions and plugins
14
+ Fastlane::Xcake.all_classes.each do |current|
15
+ require current
16
+ end
@@ -0,0 +1,34 @@
1
+ module Fastlane
2
+ module Actions
3
+ class XcakeAction < Action
4
+ def self.run(params)
5
+ require 'xcake'
6
+
7
+ if defined?(::Xcake::Command::Make)
8
+ # New `xcake make` command
9
+ ::Xcake::Command::Make.run
10
+ else
11
+ # Legacy `xcake` command
12
+ ::Xcake::Command.run
13
+ end
14
+ end
15
+
16
+ def self.description
17
+ "Runs `xcake` for the project"
18
+ end
19
+
20
+ def self.available_options
21
+ [
22
+ ]
23
+ end
24
+
25
+ def self.is_supported?(platform)
26
+ [:ios, :mac].include? platform
27
+ end
28
+
29
+ def self.authors
30
+ ["jcampbell05"]
31
+ end
32
+ end
33
+ end
34
+ end
@@ -0,0 +1,5 @@
1
+ module Fastlane
2
+ module Xcake
3
+ VERSION = '0.1.0'.freeze
4
+ end
5
+ end
metadata ADDED
@@ -0,0 +1,109 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: fastlane-plugin-xcake
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - James Campbell
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-05-31 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: xcake
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rspec
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 3.4.0
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 3.4.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: fastlane
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.89'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.89'
55
+ - !ruby/object:Gem::Dependency
56
+ name: pry
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ description: Create your Xcode projects automatically using a stupid simple DSL.
70
+ email:
71
+ - james@supmenow.com
72
+ executables: []
73
+ extensions: []
74
+ extra_rdoc_files: []
75
+ files:
76
+ - Gemfile
77
+ - LICENSE
78
+ - README.md
79
+ - Rakefile
80
+ - fastlane-plugin-xcake.gemspec
81
+ - lib/fastlane/plugin/xcake.rb
82
+ - lib/fastlane/plugin/xcake/actions/xcake_action.rb
83
+ - lib/fastlane/plugin/xcake/version.rb
84
+ homepage: https://github.com/jcampbell05/xcake/
85
+ licenses:
86
+ - MIT
87
+ metadata: {}
88
+ post_install_message:
89
+ rdoc_options: []
90
+ require_paths:
91
+ - lib
92
+ required_ruby_version: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ required_rubygems_version: !ruby/object:Gem::Requirement
98
+ requirements:
99
+ - - ">="
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
102
+ requirements: []
103
+ rubyforge_project:
104
+ rubygems_version: 2.4.8
105
+ signing_key:
106
+ specification_version: 4
107
+ summary: DSL for Xcode Projects.
108
+ test_files: []
109
+ has_rdoc: