fuburake 0.5.0.20 → 0.5.0.21

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +8 -8
  2. data/lib/fuburake.rb +10 -6
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NTk2ZDNiZDk5YmVjODM0NjZiYjVhYjRkZjBiOGFkNmUwNmVmNmUxMg==
4
+ YWVhZDRhZGUzNzU3MTdlYWQ5NzkzOThjYTNkNGEzNDdmNDRmZmFhYg==
5
5
  data.tar.gz: !binary |-
6
- ODBhOTRhMmVlNTIxYjUzN2NlNDY4NWJiZGU1ODQ5YTE0MWI4YTBlMA==
6
+ ZTkwZDdlMjgxYTM5MjA5ZDBlYjI3NzA1ODJhOGJlMmVmMTQyODU5Mw==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- MmZhYWE4NDJiOWYxODAyNGVkZGJlY2Q4MTE1MmZkZGM1YmU3ZjkwYmNkNzI4
10
- OTEwNTc0ZmM5ODA3MDAyODNhMGZiMDkzNjhkMjJlNGY0YjU2ZWFlMWI0MmY5
11
- MDFiNGYxOTYzOWFhMjkyMDMyODdmNDYzYjYxYzA4ZmM5ZWIyZjc=
9
+ OGYzYzIzOGFiNDMwYTIzODlkYmQ3Njg2MmFkNGFjYTI2NjY5ZjZlMzYzZDkz
10
+ MDNhZjhiYjg4ODFhODY5NmQ3Y2RlZjcxNGMyY2FlNjU5MDI5OGUxNDE3Yzlm
11
+ YjFjNWExM2RkODlhOTRjZmViZjcyMGY0YzA5ZDg2OTEyNmQ1NDQ=
12
12
  data.tar.gz: !binary |-
13
- MTAyZTYxOTg0Njk4ZWEzYWUwYmY2ZTJiMDcwNmJiNGZjNjFmNjVmYTZkYzI0
14
- MDkzOTFlYTdjYzBiY2MzNzE3OTM0YmUwMGViYThkN2ZkYmQ2Mzk2MWY3NjA1
15
- NTcyNGE2ZGZjNzAzYzkxMTg0MTI0YzMyNmVhYTZmZTg0Njk4ZWQ=
13
+ ZTg3YzllYzMzNGNhNGJmYWI0YWUwMTYyMmI5ZTk0N2Y4MjlhNjhmMTliMGNi
14
+ ZjZhNjIyYTllNjM1OGY5MTM0M2Y4YmMyZTQxNjQ3ODdjOGFlY2UxNGQwYTlk
15
+ ZGQ4NjRmZjI2YjI2NzVhOGZlN2U4OWEwNDUxMWZhMmJmNTFmZDc=
data/lib/fuburake.rb CHANGED
@@ -46,11 +46,7 @@ module FubuRake
46
46
  def initialize(&block)
47
47
  tasks = SolutionTasks.new
48
48
  block.call(tasks)
49
-
50
- if Platform.is_nix
51
- tasks.fubudocs_enabled = false
52
- end
53
-
49
+
54
50
  @defaultTask = create_task(:default, "**Default**, compiles and runs tests")
55
51
  @ciTask = create_task(:ci, "Target used for the CI server")
56
52
  @ciTask.enhance [:default]
@@ -151,7 +147,15 @@ module FubuRake
151
147
 
152
148
  def enable_docs(tasks)
153
149
  if tasks.fubudocs_enabled
154
- require_relative 'fubudocs'
150
+ if Platform.is_nix
151
+ Dir.glob('**/*.Docs.csproj').each do |f|
152
+ tasks.assembly_bottle File.basename(f, ".csproj")
153
+ end
154
+ else
155
+ require_relative 'fubudocs'
156
+ end
157
+
158
+
155
159
  end
156
160
  end
157
161
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fuburake
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0.20
4
+ version: 0.5.0.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy D. Miller