billymeltdown-choctop 0.11.0 → 0.11.0.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.
- 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