dev 2.0.172 → 2.0.173

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/apps/wix.rb +1 -1
  3. data/lib/tasks/build.rb +10 -0
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 84e018ef93028f170fa45681eec7b6e028cfddcc
4
- data.tar.gz: 4113c31aed75fad4bcfd330214c395ca3f70d0bc
3
+ metadata.gz: 05d7dea8b968e4e7f7bc9aca3e9ffd517d94a19e
4
+ data.tar.gz: 052f3d0128cbeb90e2d126ad5744be5748c356fa
5
5
  SHA512:
6
- metadata.gz: 579f6794a1986e316d941a308269ee75ad992b11a372b39fcd80822455c3a91c6458b1cffed2680da86f48f0549d32b0a3a24ab593e9d02c6046d4279a4b3d6a
7
- data.tar.gz: 205a907315f195db10ad031dcb3fd0593994255c3a89cb075df2f00c0a692036db106b0c8aefa89f17831d5112e8ddce9c045f3099de6164dabb138f446c0332
6
+ metadata.gz: 1c066aeb98de3c6a3984343ee88a1752d3fe1abb809545d8b468390ab37578c9a466ddf157429d9dfa966ad7821ca23fd09a5246ad1ed6c7e25054cd552a3781
7
+ data.tar.gz: 0e49036fede2797fe53eea690dc18eae3dfa72d7581def5cafe5cb5ed2629f136f7293ed9631ff8055db7065ef203d75ab79c27e0407070677befff7aadc6474
@@ -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`
@@ -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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dev
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.172
4
+ version: 2.0.173
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lou Parslow