Permalink
Browse files

Stubbed out README

  • Loading branch information...
1 parent f62507e commit 295c37a4a52fa22f5a9c49885d2c80f93910748d @remi committed Mar 26, 2011
Showing with 19 additions and 15 deletions.
  1. +1 −0 README.markdown
  2. +5 −5 build-35
  3. +5 −5 build-40
  4. +0 −3 run-specs
  5. +3 −0 run-specs-35
  6. +3 −0 run-specs-40
  7. +1 −1 spec/SpecHelper.cs
  8. +1 −1 src/EasyOData.cs
View
@@ -0,0 +1 @@
+... README coming soon ...
View
@@ -8,15 +8,15 @@ clean() {
build_src() {
echo "Building Source"
- mkdir -pv bin/Debug
- gmcs /debug:full /debug+ /optimize- /target:library /define:"DEBUG;TRACE" /out:bin/Debug/EasyOData.dll src/*.cs lib/Requestor/src/*.cs /reference:System.Web.dll
+ mkdir -pv bin/Debug/NET35
+ gmcs /debug:full /debug+ /optimize- /target:library /define:"DEBUG;TRACE" /out:bin/Debug/NET35/EasyOData.dll src/*.cs lib/Requestor/src/*.cs /reference:System.Web.dll
}
build_spec() {
echo "Building Specs"
- dmcs /debug:full /debug+ /optimize- /target:library /define:"DEBUG;TRACE" /out:bin/Debug/EasyOData.Specs.dll spec/*.cs \
- /reference:bin/Debug/EasyOData.dll /reference:lib/nunit.framework.dll /reference:lib/NUnit.Should.dll \
- && cp -v lib/*.dll bin/Debug/
+ dmcs /debug:full /debug+ /optimize- /target:library /define:"DEBUG;TRACE" /out:bin/Debug/NET35/EasyOData.Specs.dll spec/*.cs \
+ /reference:bin/Debug/NET35/EasyOData.dll /reference:lib/nunit.framework.dll /reference:lib/NUnit.Should.dll \
+ && cp -v lib/*.dll bin/Debug/NET35/
}
clean && build_src && build_spec
View
@@ -8,15 +8,15 @@ clean() {
build_src() {
echo "Building Source"
- mkdir -pv bin/Debug
- dmcs /debug:full /debug+ /optimize- /target:library /define:"DEBUG;TRACE;NET40" /out:bin/Debug/EasyOData.dll src/*.cs lib/Requestor/src/*.cs lib/MetaObject/src/MetaObject.cs /reference:System.Web.dll
+ mkdir -pv bin/Debug/NET40
+ dmcs /debug:full /debug+ /optimize- /target:library /define:"DEBUG;TRACE;NET40" /out:bin/Debug/NET40/EasyOData.dll src/*.cs lib/Requestor/src/*.cs lib/MetaObject/src/MetaObject.cs /reference:System.Web.dll
}
build_spec() {
echo "Building Specs"
- dmcs /debug:full /debug+ /optimize- /target:library /define:"DEBUG;TRACE;NET40" /out:bin/Debug/EasyOData.Specs.dll spec/*.cs \
- /reference:bin/Debug/EasyOData.dll /reference:lib/nunit.framework.dll /reference:lib/NUnit.Should.dll \
- && cp -v lib/*.dll bin/Debug/
+ dmcs /debug:full /debug+ /optimize- /target:library /define:"DEBUG;TRACE;NET40" /out:bin/Debug/NET40/EasyOData.Specs.dll spec/*.cs \
+ /reference:bin/Debug/NET40/EasyOData.dll /reference:lib/nunit.framework.dll /reference:lib/NUnit.Should.dll \
+ && cp -v lib/*.dll bin/Debug/NET40/
}
clean && build_src && build_spec
View
@@ -1,3 +0,0 @@
-#! /bin/bash
-export NUNIT_CONSOLE=nunit-console4
-nunit-color-console -labels "$@" bin/Debug/EasyOData.Specs.dll
View
@@ -0,0 +1,3 @@
+#! /bin/bash
+export NUNIT_CONSOLE=nunit-console4
+nunit-color-console -labels "$@" bin/Debug/NET35/EasyOData.Specs.dll
View
@@ -0,0 +1,3 @@
+#! /bin/bash
+export NUNIT_CONSOLE=nunit-console4
+nunit-color-console -labels "$@" bin/Debug/NET40/EasyOData.Specs.dll
View
@@ -17,7 +17,7 @@ public class Spec {
}
public string SavedResponseDir {
- get { return Path.Combine(Directory.GetCurrentDirectory(), "..", "..", "spec", "saved-responses"); }
+ get { return Path.Combine(Directory.GetCurrentDirectory(), "..", "..", "..", "spec", "saved-responses"); }
}
public void FakeResponse(string getUrl, params string[] pathToSavedResponse) {
View
@@ -169,7 +169,7 @@ public static class XmlParsing {
return new Property {
Name = node.Attr("Name"),
TypeName = node.Attr("Type"),
- IsNullable = bool.Parse(node.Attr("Nullable"))
+ IsNullable = (node.Attr("Nullable") == null) ? true : bool.Parse(node.Attr("Nullable"))
};
}

0 comments on commit 295c37a

Please sign in to comment.