fuburake 1.1.0.42 → 1.2.0.45

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.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MWJmYzgxZmRmOTE2ZjMzNzI5YWNkYzUzMDRmMDYxNjk5NjkyOTYyMA==
4
+ MWNiYTE0ZWIyMjdhMmQxNTlmY2UwNWI5MmJjOGEyMGIyNzIwYTBkNA==
5
5
  data.tar.gz: !binary |-
6
- ZjVhODIwMmM5ODhjMTY0N2Q3ZjUwZTMzM2E4ZmQzMjA5OTRhN2IzYQ==
6
+ OTkyZTUxMzg1ZGMwZTgzM2E5M2Y5MjU1ZmY0ZTE0MjBkNzA5NTYwNQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- MmU4ZjEyNGY0OWQ4M2IzZTlkYjc4MzY5MTViYmM1ODU4Njg5NzUyZjM1NzFj
10
- ZTU1Y2U4NTY1ZGQ2Mzg3ZWMyOWU1ZGE1MDRiM2ExNTlhMDgzMjhhMGExODg0
11
- NzJkZjVkMjUyMDk1YzgwNjU4NzU0MWZmMzk0NjY4OGU5ZDIxYTk=
9
+ NWVmMGNiMjBjMTU0ZjQ3NzFjZDQxYzgwNzQwZDI4YTMxODJkZTJkZTRlYmNh
10
+ MzViZDhlNjc1N2NjZDZhMWFhYzJlYWNhYTlmYjc2YzkxMGQ5ODdiZjRmZDFh
11
+ MGNkNGY5N2I0YWExYjMwZjQ2MWVjYjFjYjBlNjFmM2UxMzA2ZGE=
12
12
  data.tar.gz: !binary |-
13
- YmVlMjNlMjNiNzEwMGFhZDY2OGY2Zjk2OTQwOTJkMDY4NzU4MmQxMzEzYmQz
14
- NDE4ZGUzNTE1N2UyMzgzNjk5ZjUyNDYyMjc5MmZkMGUzMzc1Yzg4NzhhNDUx
15
- ZmIyOTU2NDBhMGFiMDI3NDFmM2IyNGQ3Mjc2ZDY3OWVlNWQ1NDg=
13
+ NGE4NmI0MTk1ZWRjOTIzNjljYWI1NzM4ZjNmYmQ1N2E4NzlkZTkxNTJhM2Y5
14
+ MDc1NzEzMTc2MjRlYTgyYmI0ZTJhNDE0MGNjYjNjMzliMzRjNTllYTgxY2Rm
15
+ NDdlYzQwOTM2M2U4YTQ0MmVjZGIzMzcyZDY3NzZlMjhjOTAxYjQ=
@@ -101,7 +101,11 @@ module FubuRake
101
101
  :asm_version => asm_version,
102
102
  :tc_build_number => tc_build_number,
103
103
  :build_revision => build_revision,
104
- :source => 'src'}.merge(options)
104
+ :source => 'src',
105
+ :nuget_publish_folder => 'artifacts',
106
+ :nuget_publish_url => nil,
107
+ :nuget_api_key => ENV['api_key']
108
+ }.merge(options)
105
109
  # ENDSAMPLE
106
110
 
107
111
  @compilemode = @options[:compilemode]
@@ -64,7 +64,7 @@ class MSBuildRunner
64
64
  attributes[:projFile] = solutionFile
65
65
  attributes[:properties] ||= []
66
66
  attributes[:properties] << "Configuration=#{compileTarget}"
67
- attributes[:extraSwitches] = ["v:m", "t:rebuild"]
67
+ attributes[:extraSwitches] = ["v:m", "t:rebuild", "nr:False"]
68
68
  attributes[:extraSwitches] << "maxcpucount:2" unless Platform.is_nix
69
69
 
70
70
  self.runProjFile(attributes);
@@ -6,7 +6,7 @@ module FubuRake
6
6
  return
7
7
  end
8
8
 
9
- tasks.clean << 'artifacts'
9
+ tasks.clean << options[:nuget_publish_folder]
10
10
 
11
11
  restoreTask = Rake::Task.define_task 'ripple:restore' do
12
12
  puts 'Restoring all the nuget package files'
@@ -30,9 +30,25 @@ module FubuRake
30
30
  historyTask.add_description "creates a history file for nuget dependencies"
31
31
 
32
32
  packageTask = Rake::Task.define_task 'ripple:package' do
33
- sh "ripple local-nuget --version #{options[:build_number]} --destination artifacts"
33
+ sh "ripple local-nuget --version #{options[:build_number]} --destination #{options[:nuget_publish_folder]}"
34
+ end
35
+ packageTask.add_description "packages the nuget files from the nuspec files in packaging/nuget and publishes to /#{options[:nuget_publish_folder]}"
36
+ packageTask.enhance [:compile]
37
+
38
+ if !options[:nuget_publish_url].nil?
39
+ cmd = "ripple batch-publish #{options[:nuget_publish_folder]} --server #{options[:nuget_publish_url]}"
40
+ if !options[:nuget_api_key].nil?
41
+ cmd += " --api-key " + options[:nuget_api_key]
42
+ end
43
+
44
+ publishTask = Rake::Task.define_task 'ripple:publish' do
45
+ sh cmd
46
+ end
47
+ publishTask.add_description "publishes the built nupkg files"
48
+ publishTask.enhance ['ripple:package']
49
+
50
+ add_dependency :ci, 'ripple:publish'
34
51
  end
35
- packageTask.add_description "packages the nuget files from the nuspec files in packaging/nuget and publishes to /artifacts"
36
52
  end
37
53
  end
38
54
  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: 1.1.0.42
4
+ version: 1.2.0.45
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy D. Miller
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-02-28 00:00:00.000000000 Z
13
+ date: 2014-04-23 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: ripple-cli