-
-
Notifications
You must be signed in to change notification settings - Fork 163
/
KZPlayground.podspec
53 lines (46 loc) · 1.79 KB
/
KZPlayground.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
Pod::Spec.new do |s|
s.name = "KZPlayground"
s.version = "0.5.0"
s.summary = "Playgrounds but for Objective-C, with some extra coolness."
s.description = <<-DESC
We all love Swift playgrounds, they are really great,
but since most of us still write Objective-C code, why not get benefits of rapid development with Objective-C Plagrounds?
Fast robust interations make it easy to prototype custom UI/Algorithms or even learn Objective-C or some new API.
DESC
s.homepage = "https://github.com/krzysztofzablocki/KZPlayground"
s.license = 'MIT'
s.author = { "Krzysztof Zablocki" => "krzysztof.zablocki@me.com" }
s.source = { :git => "https://github.com/krzysztofzablocki/KZPlayground.git", :tag => s.version.to_s }
s.social_media_url = 'https://twitter.com/merowing_'
s.platform = :ios, '7.0'
s.requires_arc = true
s.source_files = 'Pod/Classes/**/*.h', 'Pod/Classes/**/*.m'
s.resources = ['Pod/Assets/*']
s.dependency 'dyci', '~> 0.1.5.6'
s.dependency 'RSSwizzle', '~> 0.1.0'
s.dependency 'NHBalancedFlowLayout', '~> 0.2'
s.prepare_command = <<-'CMD'
cat << EOF > ../../.kick
recipe :ruby
Kicker::Recipes::Ruby.runner_bin = 'bacon -q'
process do |potential_files|
files = potential_files.take_and_map do |file|
if file =~ %r{^.*\.(m|xib|strings)$}
execute("/usr/bin/python #{File.expand_path("~/.dyci/scripts/dyci-recompile.py")} '#{File.expand_path(file)}'")
puts "KZPlayground: Recompiled #{file}"
file
end
end
end
process do |remaining_files|
remaining_files.take_and_map do |file|
puts "KZPlayground: Ignored #{file}"
file
end
end
startup do
log "KZPlayground: Watching for file changes!"
end
EOF
CMD
end