dev 2.0.172 → 2.0.173
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/apps/wix.rb +1 -1
- data/lib/tasks/build.rb +10 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 05d7dea8b968e4e7f7bc9aca3e9ffd517d94a19e
|
4
|
+
data.tar.gz: 052f3d0128cbeb90e2d126ad5744be5748c356fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c066aeb98de3c6a3984343ee88a1752d3fe1abb809545d8b468390ab37578c9a466ddf157429d9dfa966ad7821ca23fd09a5246ad1ed6c7e25054cd552a3781
|
7
|
+
data.tar.gz: 0e49036fede2797fe53eea690dc18eae3dfa72d7581def5cafe5cb5ed2629f136f7293ed9631ff8055db7065ef203d75ab79c27e0407070677befff7aadc6474
|
data/lib/apps/wix.rb
CHANGED
@@ -6,7 +6,7 @@ class Wix
|
|
6
6
|
if(File.exists?(wxs_file))
|
7
7
|
build_commands=Array.new if build_commands.nil?
|
8
8
|
build_commands << "candle #{wxs_file}"
|
9
|
-
build_commands << "light #{File.basename(wxs_file,'.*')}"
|
9
|
+
build_commands << "light #{File.basename(wxs_file,'.*')}.wixobj"
|
10
10
|
|
11
11
|
# puts `"#{candle}" HelloConsole.wxs`
|
12
12
|
#puts `"#{light}" HelloConsole.wixobj`
|
data/lib/tasks/build.rb
CHANGED
@@ -5,6 +5,7 @@ task :build do Tasks.execute_task :build;end
|
|
5
5
|
|
6
6
|
SLN_FILES=FileList.new('*.sln','*/*.sln','*/*/*.sln')
|
7
7
|
NUGET_FILES=FileList.new('**/*.nuspec')
|
8
|
+
WXS_FILES=FileList.new('**/*.wxs')
|
8
9
|
|
9
10
|
class Build < Array
|
10
11
|
def update
|
@@ -33,6 +34,15 @@ class Build < Array
|
|
33
34
|
}
|
34
35
|
end
|
35
36
|
}
|
37
|
+
|
38
|
+
WXS_FILES.each{|wxs_file|
|
39
|
+
build_commands = Wix.get_build_commands wxs_file
|
40
|
+
if(!build_commands.nil?)
|
41
|
+
build_commands.each{|c|
|
42
|
+
self.add c
|
43
|
+
}
|
44
|
+
end
|
45
|
+
}
|
36
46
|
end
|
37
47
|
end
|
38
48
|
end
|