Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added license, readme and sample rake file.
- Loading branch information
1 parent
cc509c6
commit ca42f0c
Showing
3 changed files
with
92 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -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! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -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 = /<ProjectReference.*<\/ProjectReference>/m | |||
reference = "<Reference Include=\"WcfRestContrib\"><HintPath>bin\WcfRestContrib.dll</HintPath></Reference>" | |||
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 | |||
|