Skip to content

Commit b5e8717

Browse files
committed
Change to new ProjectScaffold
1 parent a7becd6 commit b5e8717

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+3613
-1732
lines changed

.editorconfig

Lines changed: 0 additions & 9 deletions
This file was deleted.

.gitignore

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ build/
2020
[Bb]in/
2121
[Oo]bj/
2222

23-
2423
# MSTest test Results
2524
[Tt]est[Rr]esult*/
2625
[Bb]uild[Ll]og.*
@@ -170,15 +169,6 @@ $RECYCLE.BIN/
170169
# NuGet Packages Directory
171170
packages/
172171

173-
# Generated documentation folder
174-
docs/formatted/
175-
176-
#ignore local docs
177-
docs/local/
178-
179-
# Temp folder used for publishing docs
180-
temp/
181-
182172
# Test results produced by build
183173
TestResults.xml
184174

@@ -189,7 +179,7 @@ release.sh
189179
localpackages/
190180
paket-files
191181
*.orig
192-
docs/content/license.md
193-
docs/content/release-notes.md
182+
docsrc/content/license.md
183+
docsrc/content/release-notes.md
194184
.fake
195-
docs/tools/FSharp.Formatting.svclog
185+
docsrc/tools/FSharp.Formatting.svclog

.paket/Paket.Restore.targets

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@
7272
<PaketRestoreRequired Condition=" '$(PaketRestoreLockFileHash)' == '' ">true</PaketRestoreRequired>
7373
</PropertyGroup>
7474

75+
<PropertyGroup Condition="'$(PaketPropsVersion)' != '5.174.2' ">
76+
<PaketRestoreRequired>true</PaketRestoreRequired>
77+
</PropertyGroup>
7578

7679
<!-- Do a global restore if required -->
7780
<Exec Command='$(PaketBootStrapperCommand)' Condition="Exists('$(PaketBootStrapperExePath)') AND !(Exists('$(PaketExePath)'))" ContinueOnError="false" />
@@ -93,7 +96,7 @@
9396
<PaketOriginalReferencesFilePath Condition=" !Exists('$(PaketOriginalReferencesFilePath)')">$(MSBuildProjectDirectory)\$(MSBuildProjectName).paket.references</PaketOriginalReferencesFilePath>
9497
<!-- paket.references -->
9598
<PaketOriginalReferencesFilePath Condition=" !Exists('$(PaketOriginalReferencesFilePath)')">$(MSBuildProjectDirectory)\paket.references</PaketOriginalReferencesFilePath>
96-
99+
97100
<DoAllResolvedFilesExist>false</DoAllResolvedFilesExist>
98101
<DoAllResolvedFilesExist Condition="Exists(%(PaketResolvedFilePaths.Identity))">true</DoAllResolvedFilesExist>
99102
<PaketRestoreRequired>true</PaketRestoreRequired>
@@ -132,11 +135,11 @@
132135
<Error Condition=" '$(DoAllResolvedFilesExist)' != 'true' AND '$(ResolveNuGetPackages)' != 'False' " Text="One Paket file '@(PaketResolvedFilePaths)' is missing while restoring $(MSBuildProjectFile). Please delete 'paket-files/paket.restore.cached' and call 'paket restore'." />
133136

134137
<!-- Step 4 forward all msbuild properties (PackageReference, DotNetCliToolReference) to msbuild -->
135-
<ReadLinesFromFile Condition="'@(PaketResolvedFilePaths)' != ''" File="%(PaketResolvedFilePaths.Identity)" ><!--Condition="Exists('%(PaketResolvedFilePaths.Identity)')"-->
138+
<ReadLinesFromFile Condition="($(DesignTimeBuild) != true OR '$(PaketPropsLoaded)' != 'true') AND '@(PaketResolvedFilePaths)' != ''" File="%(PaketResolvedFilePaths.Identity)" >
136139
<Output TaskParameter="Lines" ItemName="PaketReferencesFileLines"/>
137140
</ReadLinesFromFile>
138141

139-
<ItemGroup Condition=" '@(PaketReferencesFileLines)' != '' " >
142+
<ItemGroup Condition="($(DesignTimeBuild) != true OR '$(PaketPropsLoaded)' != 'true') AND '@(PaketReferencesFileLines)' != '' " >
140143
<PaketReferencesFileLinesInfo Include="@(PaketReferencesFileLines)" >
141144
<PackageName>$([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[0])</PackageName>
142145
<PackageVersion>$([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[1])</PackageVersion>

.paket/paket.exe

0 Bytes
Binary file not shown.

.travis.yml

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,31 @@
11
language: csharp
2-
mono: latest # until https://github.com/dotnet/sdk/issues/335 is solved we don't have the full benefit of mono
3-
dotnet: 2.1.101
42

5-
sudo: false # use the new container-based Travis infrastructure
3+
sudo: false # use the new container-based Travis infrastructure
4+
5+
mono: 5.12.0
6+
7+
dotnet: 2.1.300
8+
9+
install:
10+
11+
# workaround for missing .net 4.5 targing pack
12+
13+
- export FrameworkPathOverride=$(dirname $(which mono))/../lib/mono/4.5/
614

715
before_install:
816
- chmod +x build.sh
9-
10-
script:
11-
- ./build.sh RunTests
17+
18+
matrix:
19+
include:
20+
- os: linux # Ubuntu 14.04
21+
dist: trusty
22+
sudo: required
23+
dotnet : 2.1.300
24+
- os: osx # OSX 10.12
25+
osx_image: xcode9.1
26+
dotnet : 2.1.300
27+
dist: trusty
28+
sudo: required
29+
30+
script:
31+
- ./build.sh All

FSharp.Plotly.sln

Lines changed: 37 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,28 @@
11
Microsoft Visual Studio Solution File, Format Version 12.00
22
# Visual Studio 15
3-
VisualStudioVersion = 15.0.27130.2036
3+
VisualStudioVersion = 15.0.27703.2000
44
MinimumVisualStudioVersion = 10.0.40219.1
55
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".paket", ".paket", "{63297B98-5CED-492C-A5B7-A5B4F73CF142}"
66
ProjectSection(SolutionItems) = preProject
77
paket.dependencies = paket.dependencies
88
paket.lock = paket.lock
9+
paket.references = paket.references
910
EndProjectSection
1011
EndProject
1112
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "docs", "docs", "{A6A6AF7D-D6E3-442D-9B1E-58CC91879BE1}"
1213
EndProject
13-
Project("{6EC3EE1D-3C4E-46DD-8F32-0CC8E7565705}") = "FSharp.Plotly", "src\FSharp.Plotly\FSharp.Plotly.fsproj", "{4E235DDD-1B59-4A93-ABE9-2FEEF18B09A1}"
14+
Project("{6EC3EE1D-3C4E-46DD-8F32-0CC8E7565705}") = "FSharp.Plotly", "src\FSharp.Plotly\FSharp.Plotly.fsproj", "{F635BEEF-9609-4485-8C72-D8090A5F40A2}"
1415
EndProject
1516
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "project", "project", "{BF60BC93-E09B-4E5F-9D85-95A519479D54}"
1617
ProjectSection(SolutionItems) = preProject
17-
build.fsx = build.fsx
1818
README.md = README.md
1919
RELEASE_NOTES.md = RELEASE_NOTES.md
2020
EndProjectSection
2121
EndProject
2222
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tools", "tools", "{83F16175-43B1-4C90-A1EE-8E351C33435D}"
2323
ProjectSection(SolutionItems) = preProject
24-
docs\tools\formatters.fsx = docs\tools\formatters.fsx
25-
docs\tools\generate.fsx = docs\tools\generate.fsx
26-
docs\tools\templates\template.cshtml = docs\tools\templates\template.cshtml
24+
docsrc\tools\generate.fsx = docsrc\tools\generate.fsx
25+
docsrc\tools\templates\template.cshtml = docsrc\tools\templates\template.cshtml
2726
EndProjectSection
2827
EndProject
2928
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "content", "content", "{8E6D5255-776D-4B61-85F9-73C37AA1FB9A}"
@@ -45,56 +44,68 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "content", "content", "{8E6D
4544
docs\content\heatmaps.fsx = docs\content\heatmaps.fsx
4645
docs\content\histograms.fsx = docs\content\histograms.fsx
4746
docs\content\index.fsx = docs\content\index.fsx
48-
docs\content\license.md = docs\content\license.md
4947
docs\content\line-scatter-plots.fsx = docs\content\line-scatter-plots.fsx
5048
docs\content\multiple-charts.fsx = docs\content\multiple-charts.fsx
5149
docs\content\parallel-coords.fsx = docs\content\parallel-coords.fsx
5250
docs\content\pie-daughnut-charts.fsx = docs\content\pie-daughnut-charts.fsx
5351
docs\content\plotly-wpf.fsx = docs\content\plotly-wpf.fsx
5452
docs\content\polar-charts.fsx = docs\content\polar-charts.fsx
5553
docs\content\range-plots.fsx = docs\content\range-plots.fsx
56-
docs\content\release-notes.md = docs\content\release-notes.md
5754
docs\content\shapes.fsx = docs\content\shapes.fsx
58-
docs\content\splom.fsx = docs\content\splom.fsx
59-
docs\content\tutorial.fsx = docs\content\tutorial.fsx
6055
docs\content\violin-plots.fsx = docs\content\violin-plots.fsx
6156
docs\content\windrose-charts.fsx = docs\content\windrose-charts.fsx
6257
EndProjectSection
6358
EndProject
6459
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{ED8079DD-2B06-4030-9F0F-DC548F98E1C4}"
6560
EndProject
66-
Project("{6EC3EE1D-3C4E-46DD-8F32-0CC8E7565705}") = "FSharp.Plotly.Tests", "tests\FSharp.Plotly.Tests\FSharp.Plotly.Tests.fsproj", "{12CFF99C-5660-42FE-9370-9085A6558F16}"
61+
Project("{6EC3EE1D-3C4E-46DD-8F32-0CC8E7565705}") = "FSharp.Plotly.Tests", "tests\FSharp.Plotly.Tests\FSharp.Plotly.Tests.fsproj", "{82EEB69B-361E-486E-9F54-D346A8C76CC9}"
62+
EndProject
63+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "git", "git", "{078A9C52-DDC1-46F4-9235-9E6C89C87AFD}"
64+
ProjectSection(SolutionItems) = preProject
65+
.gitattributes = .gitattributes
66+
.gitignore = .gitignore
67+
EndProjectSection
68+
EndProject
69+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".build", ".build", "{7C6D08E7-3EAC-4335-8F4B-252C193C27C9}"
70+
ProjectSection(SolutionItems) = preProject
71+
.travis.yml = .travis.yml
72+
appveyor.yml = appveyor.yml
73+
build.cmd = build.cmd
74+
build.fsx = build.fsx
75+
build.proj = build.proj
76+
build.sh = build.sh
77+
EndProjectSection
6778
EndProject
68-
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "FSharp.Plotly.WPF", "src\FSharp.Plotly.WPF\FSharp.Plotly.WPF.fsproj", "{2869F1FF-BA08-420C-AB41-CFF4835DD954}"
79+
Project("{6EC3EE1D-3C4E-46DD-8F32-0CC8E7565705}") = "FSharp.Plotly.WPF", "src\FSharp.Plotly.WPF\FSharp.Plotly.WPF.fsproj", "{B88586CA-044D-4D65-AB51-A7339C83D42F}"
6980
EndProject
7081
Global
7182
GlobalSection(SolutionConfigurationPlatforms) = preSolution
7283
Debug|Any CPU = Debug|Any CPU
7384
Release|Any CPU = Release|Any CPU
7485
EndGlobalSection
7586
GlobalSection(ProjectConfigurationPlatforms) = postSolution
76-
{4E235DDD-1B59-4A93-ABE9-2FEEF18B09A1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
77-
{4E235DDD-1B59-4A93-ABE9-2FEEF18B09A1}.Debug|Any CPU.Build.0 = Debug|Any CPU
78-
{4E235DDD-1B59-4A93-ABE9-2FEEF18B09A1}.Release|Any CPU.ActiveCfg = Release|Any CPU
79-
{4E235DDD-1B59-4A93-ABE9-2FEEF18B09A1}.Release|Any CPU.Build.0 = Release|Any CPU
80-
{12CFF99C-5660-42FE-9370-9085A6558F16}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
81-
{12CFF99C-5660-42FE-9370-9085A6558F16}.Debug|Any CPU.Build.0 = Debug|Any CPU
82-
{12CFF99C-5660-42FE-9370-9085A6558F16}.Release|Any CPU.ActiveCfg = Release|Any CPU
83-
{12CFF99C-5660-42FE-9370-9085A6558F16}.Release|Any CPU.Build.0 = Release|Any CPU
84-
{2869F1FF-BA08-420C-AB41-CFF4835DD954}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
85-
{2869F1FF-BA08-420C-AB41-CFF4835DD954}.Debug|Any CPU.Build.0 = Debug|Any CPU
86-
{2869F1FF-BA08-420C-AB41-CFF4835DD954}.Release|Any CPU.ActiveCfg = Release|Any CPU
87-
{2869F1FF-BA08-420C-AB41-CFF4835DD954}.Release|Any CPU.Build.0 = Release|Any CPU
87+
{F635BEEF-9609-4485-8C72-D8090A5F40A2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
88+
{F635BEEF-9609-4485-8C72-D8090A5F40A2}.Debug|Any CPU.Build.0 = Debug|Any CPU
89+
{F635BEEF-9609-4485-8C72-D8090A5F40A2}.Release|Any CPU.ActiveCfg = Release|Any CPU
90+
{F635BEEF-9609-4485-8C72-D8090A5F40A2}.Release|Any CPU.Build.0 = Release|Any CPU
91+
{82EEB69B-361E-486E-9F54-D346A8C76CC9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
92+
{82EEB69B-361E-486E-9F54-D346A8C76CC9}.Debug|Any CPU.Build.0 = Debug|Any CPU
93+
{82EEB69B-361E-486E-9F54-D346A8C76CC9}.Release|Any CPU.ActiveCfg = Release|Any CPU
94+
{82EEB69B-361E-486E-9F54-D346A8C76CC9}.Release|Any CPU.Build.0 = Release|Any CPU
95+
{B88586CA-044D-4D65-AB51-A7339C83D42F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
96+
{B88586CA-044D-4D65-AB51-A7339C83D42F}.Debug|Any CPU.Build.0 = Debug|Any CPU
97+
{B88586CA-044D-4D65-AB51-A7339C83D42F}.Release|Any CPU.ActiveCfg = Release|Any CPU
98+
{B88586CA-044D-4D65-AB51-A7339C83D42F}.Release|Any CPU.Build.0 = Release|Any CPU
8899
EndGlobalSection
89100
GlobalSection(SolutionProperties) = preSolution
90101
HideSolutionNode = FALSE
91102
EndGlobalSection
92103
GlobalSection(NestedProjects) = preSolution
93104
{83F16175-43B1-4C90-A1EE-8E351C33435D} = {A6A6AF7D-D6E3-442D-9B1E-58CC91879BE1}
94105
{8E6D5255-776D-4B61-85F9-73C37AA1FB9A} = {A6A6AF7D-D6E3-442D-9B1E-58CC91879BE1}
95-
{12CFF99C-5660-42FE-9370-9085A6558F16} = {ED8079DD-2B06-4030-9F0F-DC548F98E1C4}
106+
{82EEB69B-361E-486E-9F54-D346A8C76CC9} = {ED8079DD-2B06-4030-9F0F-DC548F98E1C4}
96107
EndGlobalSection
97108
GlobalSection(ExtensibilityGlobals) = postSolution
98-
SolutionGuid = {C50F9EB5-7227-4BA5-AF8F-BCA7F7ECD383}
109+
SolutionGuid = {7177F1E1-341C-48AB-9864-6B525FFF7633}
99110
EndGlobalSection
100111
EndGlobal

appveyor.yml

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,11 @@
1-
version: '0.0.1.{build}'
21
image: Visual Studio 2017
3-
# branches:
4-
# only:
5-
# - master
6-
skip_tags: true
2+
73
init:
8-
# Good practise, because Windows line endings are different from Unix/Linux ones
9-
- cmd: git config --global core.autocrlf true
10-
install:
11-
# Install repo specific stuff here
12-
before_build:
13-
# Display .NET Core version
14-
- cmd: dotnet --version
4+
- git config --global core.autocrlf input
155
build_script:
16-
# output will be in bin
176
- cmd: build.cmd All
18-
after_build:
19-
# For once the build has completed
7+
test: off
8+
version: 0.0.1.{build}
209
artifacts:
21-
- path: 'bin\*.nupkg'
22-
name: FSharp.FGL
23-
type: NuGetPackage
24-
clone_depth: 1
25-
test_script:
26-
# done in build step
27-
on_finish :
28-
# any cleanup in here
29-
deploy: off
10+
- path: bin
11+
name: bin

build.cmd

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11
@echo off
22
cls
33

4-
.paket\paket.exe restore
5-
if errorlevel 1 (
6-
exit /b %errorlevel%
7-
)
4+
dotnet restore build.proj
85

96
IF NOT EXIST build.fsx (
10-
.paket\paket.exe update
11-
packages\build\FAKE\tools\FAKE.exe init.fsx
7+
fake run init.fsx
128
)
13-
packages\build\FAKE\tools\FAKE.exe build.fsx %*
9+
fake build %*

0 commit comments

Comments
 (0)