forked from stripe/stripe-dotnet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrakefile.rb
More file actions
31 lines (26 loc) · 752 Bytes
/
rakefile.rb
File metadata and controls
31 lines (26 loc) · 752 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
require 'albacore'
VERSION = "1.7.6"
task :default => [:build, :output]
assemblyinfo :assemblyinfo do |asm|
asm.version = VERSION
asm.company_name = "Jayme Davis"
asm.product_name = "Stripe.net"
asm.title = "Stripe.net"
asm.description = "A .net client api for http://stripe.com"
asm.copyright = "Copyright (C) Jayme Davis 2013"
asm.output_file = "src/SharedAssemblyInfo.cs"
end
desc "Build"
msbuild :build => :assemblyinfo do |msb|
msb.properties :configuration => :Release
msb.targets :Clean, :Build
msb.solution = "src/Stripe.sln"
puts 'Solution built'
end
desc "Output"
output :output do |out|
out.from '.'
out.to 'working'
out.file 'src\Stripe\bin\release\Stripe.net.dll', :as=>'Stripe.net.dll'
puts 'Output folder created'
end