Skip to content

Commit a3a71f8

Browse files
committed
build script leftovers
1 parent 0eec245 commit a3a71f8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

RakeFile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ namespace :source do
6464
desc 'Update assembly info with latest version number'
6565
assemblyinfo :update_version do |info|
6666
info.output_file = PROPS
67+
commit_hash = `git log -1 --format="%H%"`
6768

6869
info.title = Platform.config['assembly_info']['title']
6970
info.version = get_version
@@ -104,9 +105,9 @@ namespace :source do
104105

105106
msbuild :msbuild, [:nhibernate_version] => :nhibernate_version do |msbuild, args|
106107
msbuild.properties = {
107-
configuration: :Release,
108-
DefineConstants: nh_version_precompiler_switch,
109-
WarningLevel: 0
108+
:Configuration => "Release",
109+
:DefineConstants => args[:nhibernate_version],
110+
:WarningLevel => 0
110111
}
111112
msbuild.targets [:Clean, :Build]
112113
msbuild.solution = SLN

0 commit comments

Comments
 (0)