Skip to content

Commit

Permalink
Development infrastructure
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Voytsekhovskiy committed Apr 18, 2016
1 parent 35a051f commit 0187692
Show file tree
Hide file tree
Showing 25 changed files with 345 additions and 220 deletions.
47 changes: 24 additions & 23 deletions .gitattributes
@@ -1,25 +1,26 @@
# Auto detect text files and perform LF normalization
* text=auto
# Auto detect text files
* text=auto

*.cs text diff=csharp
*.fs text diff=fsharp
*.java text diff=java
*.html text diff=html
*.css text
*.js text
*.ts text
*.sql text
*.xml text
*.md text
# Custom for Visual Studio
*.cs diff=csharp text=auto eol=lf
*.vb diff=csharp text=auto eol=lf
*.fs diff=csharp text=auto eol=lf
*.fsi diff=csharp text=auto eol=lf
*.fsx diff=csharp text=auto eol=lf
*.sln text eol=crlf merge=union
*.csproj merge=union
*.vbproj merge=union
*.fsproj merge=union
*.dbproj merge=union

*.csproj text merge=union
*.sln text merge=union eol=crlf

*.docx diff=astextplain
*.DOCX diff=astextplain

# absolute paths are ok, as are globs
/**/postinst* text eol=lf

# paths that don't start with / are treated relative to the .gitattributes folder
relative/path/*.txt text eol=lf
# Standard to msysgit
*.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
30 changes: 30 additions & 0 deletions .github/ISSUE_TEMPLATE.md
@@ -0,0 +1,30 @@
### Description

Please provide a succinct description of your issue.

### Repro steps

Please provide the steps required to reproduce the problem

1. Step A

2. Step B

### Expected behavior

Please provide a description of the behavior you expect.

### Actual behavior

Please provide a description of the actual behavior you observe.

### Known workarounds

Please provide a description of any known workarounds.

### Related information

* Operating system
* Branch
* .NET Runtime, CoreCLR or Mono Version
* Performance information, links to performance testing scripts
63 changes: 48 additions & 15 deletions .gitignore
@@ -1,26 +1,31 @@
# Source Nuget packages repository
/ext/nuget
node_modules
bower_components
/dist
/typings


## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.

# User-specific files
*.suo
*.user
*.userprefs
*.sln.docstates
.vs/

# Xamarin Studio / monodevelop user-specific
*.userprefs
*.dll.mdb
*.exe.mdb

# Build results

[Dd]ebug/
[Rr]elease/
#build/ #WebSharper
x64/
build/
[Bb]in/
[Oo]bj/



# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*
Expand Down Expand Up @@ -62,6 +67,9 @@ ipch/
*.vsp
*.vspx

# Other Visual Studio data
.vs/

# Guidance Automation Toolkit
*.gpState

Expand Down Expand Up @@ -92,12 +100,14 @@ 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/
# Enable nuget.exe in the .nuget folder (though normally executables are not tracked)
!.nuget/NuGet.exe

# Windows Azure Build Output
csx
Expand Down Expand Up @@ -155,8 +165,31 @@ $RECYCLE.BIN/
# Mac desktop service store files
.DS_Store

/src/Angara.ChartJS/lib
bower_components
node_modules
dist
.baseDir.*
# ===================================================
# Exclude F# project specific directories and files
# ===================================================

# NuGet Packages Directory
packages/

# Generated documentation folder
docs/output/

# Temp folder used for publishing docs
temp/

# Test results produced by build
TestResults.xml

# Nuget outputs
nuget/*.nupkg
release.cmd
release.sh
localpackages/
paket-files
*.orig
.paket/paket.exe
docs/content/license.md
docs/content/release-notes.md
.fake
docs/tools/FSharp.Formatting.svclog
Binary file added .paket/paket.bootstrapper.exe
Binary file not shown.
36 changes: 36 additions & 0 deletions .paket/paket.targets
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<!-- Enable the restore command to run before builds -->
<RestorePackages Condition=" '$(RestorePackages)' == '' ">true</RestorePackages>
<!-- Download Paket.exe if it does not already exist -->
<DownloadPaket Condition=" '$(DownloadPaket)' == '' ">true</DownloadPaket>
<PaketToolsPath>$(MSBuildThisFileDirectory)</PaketToolsPath>
<PaketRootPath>$(MSBuildThisFileDirectory)..\</PaketRootPath>
</PropertyGroup>
<PropertyGroup>
<!-- Paket command -->
<PaketExePath Condition=" '$(PaketExePath)' == '' ">$(PaketToolsPath)paket.exe</PaketExePath>
<PaketBootStrapperExePath Condition=" '$(PaketBootStrapperExePath)' == '' ">$(PaketToolsPath)paket.bootstrapper.exe</PaketBootStrapperExePath>
<PaketCommand Condition=" '$(OS)' == 'Windows_NT'">"$(PaketExePath)"</PaketCommand>
<PaketCommand Condition=" '$(OS)' != 'Windows_NT' ">mono --runtime=v4.0.30319 "$(PaketExePath)"</PaketCommand>
<PaketBootStrapperCommand Condition=" '$(OS)' == 'Windows_NT'">"$(PaketBootStrapperExePath)"</PaketBootStrapperCommand>
<PaketBootStrapperCommand Condition=" '$(OS)' != 'Windows_NT' ">mono --runtime=v4.0.30319 $(PaketBootStrapperExePath)</PaketBootStrapperCommand>
<!-- Commands -->
<RestoreCommand>$(PaketCommand) restore</RestoreCommand>
<DownloadPaketCommand>$(PaketBootStrapperCommand)</DownloadPaketCommand>
<!-- We need to ensure packages are restored prior to assembly resolve -->
<BuildDependsOn Condition="$(RestorePackages) == 'true'">RestorePackages; $(BuildDependsOn);</BuildDependsOn>
</PropertyGroup>
<Target Name="CheckPrerequisites">
<!-- Raise an error if we're unable to locate paket.exe -->
<Error Condition="'$(DownloadPaket)' != 'true' AND !Exists('$(PaketExePath)')" Text="Unable to locate '$(PaketExePath)'" />
<MsBuild Targets="DownloadPaket" Projects="$(MSBuildThisFileFullPath)" Properties="Configuration=NOT_IMPORTANT;DownloadPaket=$(DownloadPaket)" />
</Target>
<Target Name="DownloadPaket">
<Exec Command="$(DownloadPaketCommand)" Condition=" '$(DownloadPaket)' == 'true' AND !Exists('$(PaketExePath)')" />
</Target>
<Target Name="RestorePackages" DependsOnTargets="CheckPrerequisites">
<Exec Command="$(RestoreCommand)" WorkingDirectory="$(PaketRootPath)" />
</Target>
</Project>
12 changes: 0 additions & 12 deletions .vscode/tasks.json

This file was deleted.

61 changes: 61 additions & 0 deletions Angara.Chart.sln
@@ -0,0 +1,61 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.24720.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".paket", ".paket", "{63297B98-5CED-492C-A5B7-A5B4F73CF142}"
ProjectSection(SolutionItems) = preProject
paket.dependencies = paket.dependencies
paket.lock = paket.lock
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "docs", "docs", "{A6A6AF7D-D6E3-442D-9B1E-58CC91879BE1}"
EndProject
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "Angara.Chart", "src\Angara.Chart\Angara.Chart.fsproj", "{E20CB9EC-04EF-4E32-B085-ADAEB4615D4E}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "project", "project", "{BF60BC93-E09B-4E5F-9D85-95A519479D54}"
ProjectSection(SolutionItems) = preProject
build.fsx = build.fsx
README.md = README.md
RELEASE_NOTES.md = RELEASE_NOTES.md
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tools", "tools", "{83F16175-43B1-4C90-A1EE-8E351C33435D}"
ProjectSection(SolutionItems) = preProject
docs\tools\generate.fsx = docs\tools\generate.fsx
docs\tools\templates\template.cshtml = docs\tools\templates\template.cshtml
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "content", "content", "{8E6D5255-776D-4B61-85F9-73C37AA1FB9A}"
ProjectSection(SolutionItems) = preProject
docs\content\index.fsx = docs\content\index.fsx
docs\content\tutorial.fsx = docs\content\tutorial.fsx
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{ED8079DD-2B06-4030-9F0F-DC548F98E1C4}"
EndProject
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "Angara.Chart.Tests", "tests\Angara.Chart.Tests\Angara.Chart.Tests.fsproj", "{2ACD8F5B-D3AD-4A84-8A78-EAC1E4D6D93F}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{E20CB9EC-04EF-4E32-B085-ADAEB4615D4E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E20CB9EC-04EF-4E32-B085-ADAEB4615D4E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E20CB9EC-04EF-4E32-B085-ADAEB4615D4E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E20CB9EC-04EF-4E32-B085-ADAEB4615D4E}.Release|Any CPU.Build.0 = Release|Any CPU
{2ACD8F5B-D3AD-4A84-8A78-EAC1E4D6D93F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2ACD8F5B-D3AD-4A84-8A78-EAC1E4D6D93F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2ACD8F5B-D3AD-4A84-8A78-EAC1E4D6D93F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2ACD8F5B-D3AD-4A84-8A78-EAC1E4D6D93F}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{83F16175-43B1-4C90-A1EE-8E351C33435D} = {A6A6AF7D-D6E3-442D-9B1E-58CC91879BE1}
{8E6D5255-776D-4B61-85F9-73C37AA1FB9A} = {A6A6AF7D-D6E3-442D-9B1E-58CC91879BE1}
{2ACD8F5B-D3AD-4A84-8A78-EAC1E4D6D93F} = {ED8079DD-2B06-4030-9F0F-DC548F98E1C4}
EndGlobalSection
EndGlobal
File renamed without changes.
10 changes: 0 additions & 10 deletions NuGet.Config

This file was deleted.

5 changes: 5 additions & 0 deletions RELEASE_NOTES.md
@@ -0,0 +1,5 @@
### 0.2.0 - Unreleased

* New target framework .Net 4.5.2
* API allows to set titles for data series.
* Uses Angara.Serialization 0.2.0
40 changes: 0 additions & 40 deletions SetVersion.js

This file was deleted.

23 changes: 23 additions & 0 deletions paket.dependencies
@@ -0,0 +1,23 @@
source https://nuget.org/api/v2
nuget Angara.Serialization

group Build
source https://nuget.org/api/v2

nuget npm.js
nuget SourceLink.Fake
nuget FAKE
nuget FSharp.Formatting

github fsharp/FAKE modules/Octokit/Octokit.fsx

group Test
source https://nuget.org/api/v2

nuget NUnit ~> 2
nuget NUnit.Runners ~> 2

group Docs
source https://www.nuget.org/api/v2

nuget Angara.Html

0 comments on commit 0187692

Please sign in to comment.