From 9938b02aeba19f77227b81f87dd0c3e0be5fd991 Mon Sep 17 00:00:00 2001 From: npal Date: Thu, 26 Jun 2014 15:46:16 +0300 Subject: [PATCH] Init Project Structure --- .gitattributes | 63 +++++++++ .gitignore | 156 +++++++++++++++++++++++ Streams.sln | 31 +++++ src/Streams.Core/Script.fsx | 1 + src/Streams.Core/Streams.Core.fsproj | 57 +++++++++ tests/Streams.Tests/Script.fsx | 1 + tests/Streams.Tests/Streams.Tests.fsproj | 57 +++++++++ 7 files changed, 366 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 Streams.sln create mode 100644 src/Streams.Core/Script.fsx create mode 100644 src/Streams.Core/Streams.Core.fsproj create mode 100644 tests/Streams.Tests/Script.fsx create mode 100644 tests/Streams.Tests/Streams.Tests.fsproj diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..1ff0c42 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,63 @@ +############################################################################### +# Set default behavior to automatically normalize line endings. +############################################################################### +* text=auto + +############################################################################### +# Set default behavior for command prompt diff. +# +# This is need for earlier builds of msysgit that does not have it on by +# default for csharp files. +# Note: This is only used by command line +############################################################################### +#*.cs diff=csharp + +############################################################################### +# Set the merge driver for project and solution files +# +# Merging from the command prompt will add diff markers to the files if there +# are conflicts (Merging from VS is not affected by the settings below, in VS +# the diff markers are never inserted). Diff markers may cause the following +# file extensions to fail to load in VS. An alternative would be to treat +# these files as binary and thus will always conflict and require user +# intervention with every merge. To do so, just uncomment the entries below +############################################################################### +#*.sln merge=binary +#*.csproj merge=binary +#*.vbproj merge=binary +#*.vcxproj merge=binary +#*.vcproj merge=binary +#*.dbproj merge=binary +#*.fsproj merge=binary +#*.lsproj merge=binary +#*.wixproj merge=binary +#*.modelproj merge=binary +#*.sqlproj merge=binary +#*.wwaproj merge=binary + +############################################################################### +# behavior for image files +# +# image files are treated as binary by default. +############################################################################### +#*.jpg binary +#*.png binary +#*.gif binary + +############################################################################### +# diff behavior for common document formats +# +# Convert binary document formats to text before diffing them. This feature +# is only available from the command line. Turn it on by uncommenting the +# entries below. +############################################################################### +#*.doc diff=astextplain +#*.DOC diff=astextplain +#*.docx diff=astextplain +#*.DOCX diff=astextplain +#*.dot diff=astextplain +#*.DOT diff=astextplain +#*.pdf diff=astextplain +#*.PDF diff=astextplain +#*.rtf diff=astextplain +#*.RTF diff=astextplain diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1bc915c --- /dev/null +++ b/.gitignore @@ -0,0 +1,156 @@ +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ons. + +# User-specific files +*.suo +*.user +*.sln.docstates + +# Build results + +[Dd]ebug/ +[Rr]elease/ +x64/ +build/ +[Bb]in/ +[Oo]bj/ + +# Enable "build/" folder in the NuGet Packages folder since NuGet packages use it for MSBuild targets +!packages/*/build/ + +# MSTest test Results +[Tt]est[Rr]esult*/ +[Bb]uild[Ll]og.* + +*_i.c +*_p.c +*.ilk +*.meta +*.obj +*.pch +*.pdb +*.pgc +*.pgd +*.rsp +*.sbr +*.tlb +*.tli +*.tlh +*.tmp +*.tmp_proj +*.log +*.vspscc +*.vssscc +.builds +*.pidb +*.log +*.scc + +# Visual C++ cache files +ipch/ +*.aps +*.ncb +*.opensdf +*.sdf +*.cachefile + +# Visual Studio profiler +*.psess +*.vsp +*.vspx + +# Guidance Automation Toolkit +*.gpState + +# ReSharper is a .NET coding add-in +_ReSharper*/ +*.[Rr]e[Ss]harper + +# TeamCity is a build add-in +_TeamCity* + +# DotCover is a Code Coverage Tool +*.dotCover + +# NCrunch +*.ncrunch* +.*crunch*.local.xml + +# Installshield output folder +[Ee]xpress/ + +# DocProject is a documentation generator add-in +DocProject/buildhelp/ +DocProject/Help/*.HxT +DocProject/Help/*.HxC +DocProject/Help/*.hhc +DocProject/Help/*.hhk +DocProject/Help/*.hhp +DocProject/Help/Html2 +DocProject/Help/html + +# Click-Once directory +publish/ + +# Publish Web Output +*.Publish.xml + +# NuGet Packages Directory +## TODO: If you have NuGet Package Restore enabled, uncomment the next line +#packages/ + +# Windows Azure Build Output +csx +*.build.csdef + +# Windows Store app package directory +AppPackages/ + +# Others +sql/ +*.Cache +ClientBin/ +[Ss]tyle[Cc]op.* +~$* +*~ +*.dbmdl +*.[Pp]ublish.xml +*.pfx +*.publishsettings + +# RIA/Silverlight projects +Generated_Code/ + +# Backup & report files from converting an old project file to a newer +# Visual Studio version. Backup files are not needed, because we have git ;-) +_UpgradeReport_Files/ +Backup*/ +UpgradeLog*.XML +UpgradeLog*.htm + +# SQL Server files +App_Data/*.mdf +App_Data/*.ldf + + +#LightSwitch generated files +GeneratedArtifacts/ +_Pvt_Extensions/ +ModelManifest.xml + +# ========================= +# Windows detritus +# ========================= + +# Windows image file caches +Thumbs.db +ehthumbs.db + +# Folder config file +Desktop.ini + +# Recycle Bin used on file shares +$RECYCLE.BIN/ + +# Mac desktop service store files +.DS_Store diff --git a/Streams.sln b/Streams.sln new file mode 100644 index 0000000..69d1550 --- /dev/null +++ b/Streams.sln @@ -0,0 +1,31 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2012 +Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "Streams.Core", "src\Streams.Core\Streams.Core.fsproj", "{F3482666-F39C-4F49-8D0B-3583328D2C42}" +EndProject +Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "Streams.Tests", "tests\Streams.Tests\Streams.Tests.fsproj", "{8038FF4D-0D3C-413A-AF87-35C7F905D117}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{15DAA044-35EF-41F9-AB85-9D341CCC7B47}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {F3482666-F39C-4F49-8D0B-3583328D2C42}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F3482666-F39C-4F49-8D0B-3583328D2C42}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F3482666-F39C-4F49-8D0B-3583328D2C42}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F3482666-F39C-4F49-8D0B-3583328D2C42}.Release|Any CPU.Build.0 = Release|Any CPU + {8038FF4D-0D3C-413A-AF87-35C7F905D117}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {8038FF4D-0D3C-413A-AF87-35C7F905D117}.Debug|Any CPU.Build.0 = Debug|Any CPU + {8038FF4D-0D3C-413A-AF87-35C7F905D117}.Release|Any CPU.ActiveCfg = Release|Any CPU + {8038FF4D-0D3C-413A-AF87-35C7F905D117}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(NestedProjects) = preSolution + {8038FF4D-0D3C-413A-AF87-35C7F905D117} = {15DAA044-35EF-41F9-AB85-9D341CCC7B47} + EndGlobalSection +EndGlobal diff --git a/src/Streams.Core/Script.fsx b/src/Streams.Core/Script.fsx new file mode 100644 index 0000000..5f28270 --- /dev/null +++ b/src/Streams.Core/Script.fsx @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/Streams.Core/Streams.Core.fsproj b/src/Streams.Core/Streams.Core.fsproj new file mode 100644 index 0000000..f1b4717 --- /dev/null +++ b/src/Streams.Core/Streams.Core.fsproj @@ -0,0 +1,57 @@ + + + + + Debug + AnyCPU + 2.0 + f3482666-f39c-4f49-8d0b-3583328d2c42 + Library + Streams + Streams + v4.5 + Streams + + + true + full + false + false + bin\Debug\ + DEBUG;TRACE + 3 + bin\Debug\Streams.XML + + + pdbonly + true + true + bin\Release\ + TRACE + 3 + bin\Release\Streams.XML + + + + + True + + + + + + + + + + 11 + + + + \ No newline at end of file diff --git a/tests/Streams.Tests/Script.fsx b/tests/Streams.Tests/Script.fsx new file mode 100644 index 0000000..e02abfc --- /dev/null +++ b/tests/Streams.Tests/Script.fsx @@ -0,0 +1 @@ + diff --git a/tests/Streams.Tests/Streams.Tests.fsproj b/tests/Streams.Tests/Streams.Tests.fsproj new file mode 100644 index 0000000..253beee --- /dev/null +++ b/tests/Streams.Tests/Streams.Tests.fsproj @@ -0,0 +1,57 @@ + + + + + Debug + AnyCPU + 2.0 + 8038ff4d-0d3c-413a-af87-35c7f905d117 + Library + Streams.Tests + Streams.Tests + v4.5 + Streams.Tests + + + true + full + false + false + bin\Debug\ + DEBUG;TRACE + 3 + bin\Debug\Streams.Tests.XML + + + pdbonly + true + true + bin\Release\ + TRACE + 3 + bin\Release\Streams.Tests.XML + + + + + True + + + + + + + + + + 11 + + + + \ No newline at end of file