diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..08e7258 --- /dev/null +++ b/LICENSE @@ -0,0 +1,18 @@ +Copyright (c) 2010 Ultraviolet Catastrophe + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is furnished +to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, +INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..43b5dac --- /dev/null +++ b/README.md @@ -0,0 +1,9 @@ +Gribble +============= + +Gribble is a simple, Linq enabled ORM designed to work with dynamically created tables. Gribble supports POCO's and has a fluent mapping API (shamelessly ripped off from FluentNHibernate). It is not meant to be a replacement for a real ORM like NHiberate but to handle an edge case that NHibernate was not designed for. + +Props +------------ + +Thanks to [JetBrains](http://www.jetbrains.com/) for providing an OSS licenses! \ No newline at end of file diff --git a/release/rakefile.rb b/release/rakefile.rb new file mode 100644 index 0000000..4219887 --- /dev/null +++ b/release/rakefile.rb @@ -0,0 +1,65 @@ +require "albacore" + +task :default => [:deploySample] + +desc "Inits the build" +task :initBuild do +end + +desc "Generate assembly info." +assemblyinfo :assemblyInfo => :initBuild do |asm| + asm.version = ENV["GO_PIPELINE_LABEL"] + asm.company_name = "Ultraviolet Catastrophe" + asm.product_name = "Wcf Rest Contrib" + asm.title = "Wcf Rest Contrib" + asm.description = "Goodies for Wcf Rest." + asm.copyright = "Copyright (c) 2010 Ultraviolet Catastrophe" + asm.output_file = "src/WcfRestContrib/Properties/AssemblyInfo.cs" +end + +desc "Builds the library." +msbuild :buildLibrary => :setAssemblyVersion do |msb| + msb.path_to_command = File.join(ENV['windir'], 'Microsoft.NET', 'Framework', 'v4.0.30319', 'MSBuild.exe') + msb.properties :configuration => :Release + msb.targets :Clean, :Build + msb.solution = "src/WcfRestContrib/WcfRestContrib.csproj" +end + +desc "Builds the test project." +msbuild :buildTestProject => :buildLibrary do |msb| + msb.path_to_command = File.join(ENV['windir'], 'Microsoft.NET', 'Framework', 'v4.0.30319', 'MSBuild.exe') + msb.properties :configuration => :Release + msb.targets :Clean, :Build + msb.solution = "src/WcfRestContrib.Tests/WcfRestContrib.Tests.csproj" +end + +desc "Builds the sample app." +msbuild :buildSampleApp => :buildTestProject do |msb| + msb.path_to_command = File.join(ENV['windir'], 'Microsoft.NET', 'Framework', 'v4.0.30319', 'MSBuild.exe') + msb.properties :configuration => :Release + msb.targets :Clean, :Build + msb.solution = "src/NielsBohrLibrary/NielsBohrLibrary.csproj" +end + +desc "Set assembly reference in the sample project." +task :addSampleAssemblyReference => :buildSampleApp do + path = "src/NielsBohrLibrary/NielsBohrLibrary.csproj" + replace = //m + reference = "bin\WcfRestContrib.dll" + project = Common.ReadAllFileText(path) + project = project.gsub(replace, reference) + Common.WriteAllFileText(path, project) +end + +desc "NUnit Test Runner" +nunit :unitTests => :buildInstaller do |nunit| + nunit.path_to_command = "lib/nunit/net-2.0/nunit-console.exe" + nunit.assemblies "src/WcfRestContrib.Tests/bin/Release/WcfRestContrib.Tests.dll" + nunit.options "/xml=reports/TestResult.xml" +end + +desc "Inits the deploy" +task :initDeploy => :unitTests do + Common.EnsurePath(ReleasePath) +end +