Skip to content

Instantly share code, notes, and snippets.

@khellang
Created September 16, 2014 12:06
Show Gist options
  • Save khellang/f427b68cb15f965361c1 to your computer and use it in GitHub Desktop.
Save khellang/f427b68cb15f965361c1 to your computer and use it in GitHub Desktop.
Which would you rather write? Or read?
{
"code": "*.cs",
"exclude": "buggy/**/*.cs",
"resources": "embed/**/*.*",
"dependencies": {
"Microsoft.AspNet.ConfigurationModel": { "version": "0.1-alpha-*", "options": "private" },
"FakeToolingPackage" : {"version": "0.1", "options": "dev"},
"SomeProject": ""
},
"configurations": {
"Debug": {
"compilationOptions": {
"define": ["DEBUG", "TRACE"],
"debugSymbols": "full"
}
},
"Release": {
"compilationOptions": {
"define": ["RELEASE", "TRACE"],
"optimize": true,
"debugSymbols": "pdbOnly"
}
}
},
"frameworks": {
"net45": {},
"k10": {
"dependencies": {
"System.Collections": "4.0.0.0",
"System.Collections.Concurrent": "4.0.0.0",
"System.ComponentModel": "4.0.0.0",
"System.Linq": "4.0.0.0",
"System.Reflection": "4.0.10.0",
"System.Runtime": "4.0.20.0",
"System.Runtime.InteropServices": "4.0.10.0",
"System.Threading": "4.0.0.0",
"System.Threading.Tasks": "4.0.0.0"
}
}
},
"compilationOptions": {
"define": ["SOMETHING"],
"allowUnsafe": true,
"warningsAsErrors" : true,
"languageVersion": "experimental"
}
}
code = "*.cs"
exclude = "buggy/**/*.cs"
resources = "embed/**/*.*"
[compilationOptions]
allowUnsafe = true
define = ["SOMETHING"]
languageVersion = "experimental"
warningsAsErrors = true
[configurations]
[configurations.Debug.compilationOptions]
debugSymbols = "full"
define = ["DEBUG", "TRACE"]
[configurations.Release.compilationOptions]
debugSymbols = "pdbOnly"
define = ["RELEASE", "TRACE"]
optimize = true
[dependencies]
SomeProject = ""
[dependencies.FakeToolingPackage]
options = "dev"
version = "0.1"
[dependencies.Microsoft.AspNet.ConfigurationModel]
options = "private"
version = "0.1-alpha-*"
[frameworks]
[frameworks.k10.dependencies]
System.Collections = "4.0.0.0"
System.Collections.Concurrent = "4.0.0.0"
System.ComponentModel = "4.0.0.0"
System.Linq = "4.0.0.0"
System.Reflection = "4.0.10.0"
System.Runtime = "4.0.20.0"
System.Runtime.InteropServices = "4.0.10.0"
System.Threading = "4.0.0.0"
System.Threading.Tasks = "4.0.0.0"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment