Permalink
Browse files

merged develop - this is a very stable version and it will work well …

…in master
  • Loading branch information...
haf committed Mar 23, 2012
2 parents 11675ae + 2c8be47 commit 4460070f7c6a1dd37c329b6eaabec857ec057202
Showing 664 changed files with 396,459 additions and 36,330 deletions.
View
@@ -4,5 +4,8 @@ src/_ReSharper.*
bin/
obj/
*.csproj.user
-src/packages/RavenDB.1.0.499/server/Data/
-src/packages/RavenDB.1.0.499/server/Logs
+Data/
+Logs/
+*.tmp_proj
+src/SharedAssemblyInfo.cs
+build/
View
@@ -0,0 +1,5 @@
+---
+:major: 0
+:minor: 1
+:patch: 0
+:special: ""
View
@@ -0,0 +1,6 @@
+source "http://rubygems.org"
+
+gem 'rake'
+gem 'albacore'
+gem 'semver2'
+gem 'bundler'
View
@@ -0,0 +1,17 @@
+GEM
+ remote: http://rubygems.org/
+ specs:
+ albacore (0.2.7)
+ rubyzip (~> 0.9)
+ rake (0.9.2.2)
+ rubyzip (0.9.6.1)
+ semver2 (3.0.1)
+
+PLATFORMS
+ x86-mingw32
+
+DEPENDENCIES
+ albacore
+ bundler
+ rake
+ semver2
View
@@ -6,9 +6,6 @@ I (Henrik) want to make it easy for people to get started with this
architecture - why not try to maximize developer happiness and make the
world a better place and learn it yourself while you're at it?
-In its current state, documently is not complete, but it is runnable and you can
-learn the basic concepts of CQRS from the customer domain.
-
Some of the concepts you can learn include:
* Creating a Caliburn Micro WPF client with a ribbon, which uses the *EventAggregator* pattern for its reactive UI and wires itself up with Castle Windsor.
View
@@ -0,0 +1,159 @@
+require "rubygems"
+require "bundler"
+Bundler.setup
+$: << './'
+
+require 'albacore'
+require 'rake/clean'
+require 'semver'
+
+require 'buildscripts/utils'
+require 'buildscripts/paths'
+require 'buildscripts/project_details'
+require 'buildscripts/environment'
+
+# to get the current version of the project, type 'SemVer.find.to_s' in this rake file.
+
+desc 'generate the shared assembly info'
+assemblyinfo :assemblyinfo => ["env:release"] do |asm|
+ data = commit_data() #hash + date
+ asm.product_name = asm.title = PROJECTS[:app][:title]
+ asm.description = PROJECTS[:app][:description] + " #{data[0]} - #{data[1]}"
+ asm.company_name = PROJECTS[:app][:company]
+ # This is the version number used by framework during build and at runtime to locate, link and load the assemblies. When you add reference to any assembly in your project, it is this version number which gets embedded.
+ asm.version = BUILD_VERSION
+ # Assembly File Version : This is the version number given to file as in file system. It is displayed by Windows Explorer. Its never used by .NET framework or runtime for referencing.
+ asm.file_version = BUILD_VERSION
+ asm.custom_attributes :AssemblyInformationalVersion => "#{BUILD_VERSION}", # disposed as product version in explorer
+ :CLSCompliantAttribute => false,
+ :AssemblyConfiguration => "#{CONFIGURATION}",
+ :Guid => PROJECTS[:app][:guid]
+ asm.com_visible = false
+ asm.copyright = PROJECTS[:app][:copyright]
+ asm.output_file = File.join(FOLDERS[:src], 'SharedAssemblyInfo.cs')
+ asm.namespaces = "System", "System.Reflection", "System.Runtime.InteropServices", "System.Security"
+end
+
+
+desc "build sln file"
+msbuild :msbuild do |msb|
+ msb.solution = FILES[:sln]
+ msb.properties :Configuration => CONFIGURATION
+ msb.targets :Clean, :Build
+end
+
+
+task :app_output => [:msbuild] do
+ target = File.join(FOLDERS[:binaries], PROJECTS[:app][:id])
+ copy_files FOLDERS[:app][:out], "*.{xml,dll,pdb,config}", target
+ CLEAN.include(target)
+end
+
+
+task :cmds_output => [:msbuild] do
+ target = File.join(FOLDERS[:binaries], PROJECTS[:cmds][:id])
+ copy_files FOLDERS[:cmds][:out], "*.{xml,dll,pdb,config}", target
+ CLEAN.include(target)
+end
+
+
+task :domain_output => [:msbuild] do
+ target = File.join(FOLDERS[:binaries], PROJECTS[:domain][:id])
+ copy_files FOLDERS[:domain][:out], "*.{xml,dll,pdb,config}", target
+ CLEAN.include(target)
+end
+
+
+task :domain_svc_output => [:msbuild] do
+ target = File.join(FOLDERS[:binaries], PROJECTS[:domain_svc][:id])
+ copy_files FOLDERS[:domain_svc][:out], "*.{xml,dll,pdb,config}", target
+ CLEAN.include(target)
+end
+
+
+task :index_output => [:msbuild] do
+ target = File.join(FOLDERS[:binaries], PROJECTS[:index][:id])
+ copy_files FOLDERS[:index][:out], "*.{xml,dll,pdb,config}", target
+ CLEAN.include(target)
+end
+
+
+task :indexer_tests_output => [:msbuild] do
+ target = File.join(FOLDERS[:binaries], PROJECTS[:indexer_tests][:id])
+ copy_files FOLDERS[:indexer_tests][:out], "*.{xml,dll,pdb,config}", target
+ CLEAN.include(target)
+end
+
+
+task :infr_output => [:msbuild] do
+ target = File.join(FOLDERS[:binaries], PROJECTS[:infr][:id])
+ copy_files FOLDERS[:infr][:out], "*.{xml,dll,pdb,config}", target
+ CLEAN.include(target)
+end
+
+
+task :rm_output => [:msbuild] do
+ target = File.join(FOLDERS[:binaries], PROJECTS[:rm][:id])
+ copy_files FOLDERS[:rm][:out], "*.{xml,dll,pdb,config}", target
+ CLEAN.include(target)
+end
+
+
+task :specs_output => [:msbuild] do
+ target = File.join(FOLDERS[:binaries], PROJECTS[:specs][:id])
+ copy_files FOLDERS[:specs][:out], "*.{xml,dll,pdb,config}", target
+ CLEAN.include(target)
+end
+
+
+task :wpf_output => [:msbuild] do
+ target = File.join(FOLDERS[:binaries], PROJECTS[:wpf][:id])
+ copy_files FOLDERS[:wpf][:out], "*.{xml,dll,pdb,config}", target
+ CLEAN.include(target)
+end
+
+
+task :evtlist_output => [:msbuild] do
+ target = File.join(FOLDERS[:binaries], PROJECTS[:evtlist][:id])
+ copy_files FOLDERS[:evtlist][:out], "*.{xml,dll,pdb,config}", target
+ CLEAN.include(target)
+end
+
+task :output => [:app_output, :cmds_output, :domain_output, :domain_svc_output, :index_output, :indexer_tests_output, :infr_output, :rm_output, :specs_output, :wpf_output, :evtlist_output]
+task :nuspecs => [:cmds_nuspec]
+
+desc "Create a nuspec for 'Documently.Commands'"
+nuspec :cmds_nuspec do |nuspec|
+ nuspec.id = "#{PROJECTS[:cmds][:nuget_key]}"
+ nuspec.version = BUILD_VERSION
+ nuspec.authors = "#{PROJECTS[:cmds][:authors]}"
+ nuspec.description = "#{PROJECTS[:cmds][:description]}"
+ nuspec.title = "#{PROJECTS[:cmds][:title]}"
+ # nuspec.projectUrl = 'http://github.com/haf' # TODO: Set this for nuget generation
+ nuspec.language = "en-US"
+ nuspec.licenseUrl = "http://www.apache.org/licenses/LICENSE-2.0" # TODO: set this for nuget generation
+ nuspec.requireLicenseAcceptance = "false"
+
+ nuspec.output_file = FILES[:cmds][:nuspec]
+ nuspec_copy(:cmds, "#{PROJECTS[:cmds][:id]}.{dll,pdb,xml}")
+end
+
+task :nugets => [:"env:release", :nuspecs, :cmds_nuget]
+
+desc "nuget pack 'Documently.Commands'"
+nugetpack :cmds_nuget do |nuget|
+ nuget.command = "#{COMMANDS[:nuget]}"
+ nuget.nuspec = "#{FILES[:cmds][:nuspec]}"
+ nuget.output = "#{FOLDERS[:nuget]}"
+end
+
+task :publish => [:"env:release", :cmds_nuget_push]
+
+desc "publishes (pushes) the nuget package 'Documently.Commands'"
+nugetpush :cmds_nuget_push do |nuget|
+ nuget.command = "#{COMMANDS[:nuget]}"
+ nuget.package = "#{File.join(FOLDERS[:nuget], PROJECTS[:cmds][:nuget_key] + "." + BUILD_VERSION + '.nupkg')}"
+ nuget.create_only = false
+end
+
+task :default => ["env:release", "assemblyinfo", "msbuild", "output", "nugets"]
Oops, something went wrong.

0 comments on commit 4460070

Please sign in to comment.