Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Stubbed out README

  • Loading branch information...
commit 295c37a4a52fa22f5a9c49885d2c80f93910748d 1 parent f62507e
@remi authored
View
1  README.markdown
@@ -0,0 +1 @@
+... README coming soon ...
View
10 build-35
@@ -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
10 build-40
@@ -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
3  run-specs
@@ -1,3 +0,0 @@
-#! /bin/bash
-export NUNIT_CONSOLE=nunit-console4
-nunit-color-console -labels "$@" bin/Debug/EasyOData.Specs.dll
View
3  run-specs-35
@@ -0,0 +1,3 @@
+#! /bin/bash
+export NUNIT_CONSOLE=nunit-console4
+nunit-color-console -labels "$@" bin/Debug/NET35/EasyOData.Specs.dll
View
3  run-specs-40
@@ -0,0 +1,3 @@
+#! /bin/bash
+export NUNIT_CONSOLE=nunit-console4
+nunit-color-console -labels "$@" bin/Debug/NET40/EasyOData.Specs.dll
View
2  spec/SpecHelper.cs
@@ -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
2  src/EasyOData.cs
@@ -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"))
};
}
Please sign in to comment.
Something went wrong with that request. Please try again.