ios_build_kit 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -6
- data/ios_build_kit.gemspec +1 -1
- data/lib/ios_build_kit/tasks/xcode_build.rb +7 -1
- data/lib/ios_build_kit/version.rb +1 -1
- metadata +4 -5
- data/ios_build_kit-0.0.2.gem +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f7630c49a89ef8634980beefd59e04da253a023
|
4
|
+
data.tar.gz: e243663b13a963ed6158ccbb67211b68c48fd6a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2e2ad91a9b577b1d023d1862a79f3f3c2795d8cfc98f76102d43f3acfc3149b6ef046d22c609b1af5531dedaea192d842619ec5a8d8f5e07678ce4d97822262
|
7
|
+
data.tar.gz: 77fc3e06608825c0c71503aec632c520749ba2f2b0b844f3ad0d48cadcd6408818577e13f7d69e7d2834f24d1d2c2b0dc25001cdf16f1415281cad03b1f30135
|
data/README.md
CHANGED
@@ -76,18 +76,18 @@ An example configuration file:
|
|
76
76
|
|
77
77
|
:configuration:
|
78
78
|
:app_name: "BuildKit"
|
79
|
-
:workspace: "
|
80
|
-
:info_plist: "
|
79
|
+
:workspace: "BuildKit.xcworkspace"
|
80
|
+
:info_plist: "BuildKit/BuildKit-Info.plist"
|
81
81
|
:build_configuration: "Release"
|
82
82
|
:scheme: "BuildKit"
|
83
83
|
:sdk: "iphoneos"
|
84
|
-
:provisioning_profile: "
|
84
|
+
:provisioning_profile: "Provisioning/BuildKitTest.mobileprovision"
|
85
85
|
:code_sign: "iPhone Distribution: Alpaca Labs"
|
86
|
-
:icon_dir: "
|
87
|
-
:build_dir: "
|
86
|
+
:icon_dir: "BuildKit/Icon/"
|
87
|
+
:build_dir: "Builds"
|
88
88
|
|
89
89
|
:preferences:
|
90
|
-
:reports: "
|
90
|
+
:reports: "Reports"
|
91
91
|
```
|
92
92
|
|
93
93
|
#### Setting Tasks
|
data/ios_build_kit.gemspec
CHANGED
@@ -16,7 +16,7 @@ Gem::Specification.new do |s|
|
|
16
16
|
s.add_dependency "commander", "~> 4.1"
|
17
17
|
s.add_dependency "json", "~> 1.8"
|
18
18
|
s.add_dependency "paint", "~> 0.8"
|
19
|
-
s.add_dependency "nomad-cli", "~> 0.0.
|
19
|
+
s.add_dependency "nomad-cli", "~> 0.0.2"
|
20
20
|
s.add_dependency "rmagick", '~> 2.13'
|
21
21
|
s.add_dependency "xcpretty", '~> 0.1.3'
|
22
22
|
|
@@ -2,6 +2,8 @@ module BuildKit
|
|
2
2
|
|
3
3
|
module Tasks
|
4
4
|
|
5
|
+
require "fileutils"
|
6
|
+
|
5
7
|
def self.xcode_build runner, task_opts
|
6
8
|
task = XcodeBuildTask.new({ runner: runner, opts: task_opts })
|
7
9
|
task.run!
|
@@ -16,6 +18,7 @@ module BuildKit
|
|
16
18
|
def run!
|
17
19
|
run_command! "clean" if @task_options[:clean]
|
18
20
|
run_command! "build"
|
21
|
+
create_build_directory unless File.exists?(@config.absolute_build_dir)
|
19
22
|
complete_task!
|
20
23
|
end
|
21
24
|
|
@@ -23,7 +26,10 @@ module BuildKit
|
|
23
26
|
|
24
27
|
def assert_requirements
|
25
28
|
BuildKit::Utilities::Assertions.assert_required_config [:app_name, :workspace, :sdk, :build_configuration, :build_dir, :scheme], @runner
|
26
|
-
|
29
|
+
end
|
30
|
+
|
31
|
+
def create_build_directory
|
32
|
+
FileUtils.mkdir_p(@config.absolute_build_dir)
|
27
33
|
end
|
28
34
|
|
29
35
|
def build_command cmd
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ios_build_kit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Waite
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-02-
|
11
|
+
date: 2014-02-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: commander
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - ~>
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.0.
|
61
|
+
version: 0.0.2
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - ~>
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.0.
|
68
|
+
version: 0.0.2
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rmagick
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -146,7 +146,6 @@ extra_rdoc_files: []
|
|
146
146
|
files:
|
147
147
|
- ./Gemfile
|
148
148
|
- ./Gemfile.lock
|
149
|
-
- ./ios_build_kit-0.0.2.gem
|
150
149
|
- ./ios_build_kit.gemspec
|
151
150
|
- ./lib/ios_build_kit/task.rb
|
152
151
|
- ./lib/ios_build_kit/task_configuration.rb
|
data/ios_build_kit-0.0.2.gem
DELETED
Binary file
|