billymeltdown-choctop 0.11.0 → 0.11.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/choctop.rb +6 -1
- data/lib/choctop/dmg.rb +1 -0
- metadata +1 -1
data/lib/choctop.rb
CHANGED
@@ -38,7 +38,7 @@ class ChocTop
|
|
38
38
|
end
|
39
39
|
|
40
40
|
def target_bundle
|
41
|
-
@target_bundle ||= Dir["
|
41
|
+
@target_bundle ||= Dir["#{build_products}/#{name}.*"].first
|
42
42
|
end
|
43
43
|
|
44
44
|
# The build type of the distributed DMG file
|
@@ -103,6 +103,11 @@ class ChocTop
|
|
103
103
|
# Additional arguments to pass to scp
|
104
104
|
# e.g. -P 11222
|
105
105
|
attr_accessor :scp_args
|
106
|
+
|
107
|
+
attr_accessor :build_products
|
108
|
+
def build_products
|
109
|
+
@build_products ||= "build/#{build_type}"
|
110
|
+
end
|
106
111
|
|
107
112
|
# Folder from where all files will be copied into the DMG
|
108
113
|
# Files are copied here if specified with +add_file+ before DMG creation
|
data/lib/choctop/dmg.rb
CHANGED