forked from hadouken/hadouken
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
48 lines (36 loc) · 1.57 KB
/
Rakefile
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
require "rubygems"
require "bundler"
Bundler.setup
$: << './'
require 'albacore'
require 'semver'
require 'rake/clean'
require 'tools/buildscripts/build'
require 'tools/buildscripts/environment'
require 'tools/buildscripts/utils'
require 'tools/buildscripts/msi'
require 'tools/buildscripts/output'
require 'tools/buildscripts/release'
require 'tools/buildscripts/test'
require 'tools/buildscripts/zip'
BUILD_ROOT = File.dirname(__FILE__)
CLOBBER.include("build/*")
task :default => [ :alpha ]
task :alpha => [ :clobber, "env:alpha", "env:release", "build:all", "test:all", "output:all", "zip:all", "msi:all" ]
task :beta => [ :clobber, "env:beta", "env:release", :build_x86, :reset, :build_x64 ]
task :rc => [ :clobber, "env:rc", "env:release", :build_x86, :reset, :build_x64 ]
task :ga => [ :clobber, "env:ga", "env:release", "build:all", "test:all", "output:all", "zip:all", "msi:all" ]
desc "Versioning"
assemblyinfo :version => "env:common" do |asm|
asm.version = BUILD_VERSION
asm.file_version = BUILD_VERSION
asm.company_name = "Hadouken"
asm.product_name = "Hadouken"
asm.copyright = "2012"
asm.namespaces = "System", "System.Reflection", "System.Runtime.InteropServices", "System.Security"
asm.custom_attributes :AssemblyInformationalVersion => "#{BUILD_VERSION}", # disposed as product version in explorer
:CLSCompliantAttribute => false,
:AssemblyConfiguration => "#{CONFIGURATION}"
asm.com_visible = false
asm.output_file = "src/Shared/CommonAssemblyInfo.cs"
end