Skip to content

Commit

Permalink
- corrected paths to docs
Browse files Browse the repository at this point in the history
- fantomas
  • Loading branch information
SchlenkR committed Nov 27, 2023
1 parent 83d27f7 commit 34c72f2
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 21 deletions.
6 changes: 0 additions & 6 deletions .config/dotnet-tools.json
Expand Up @@ -7,12 +7,6 @@
"commands": [
"fsdocs"
]
},
"fantomas": {
"version": "6.2.3",
"commands": [
"fantomas"
]
}
}
}
11 changes: 0 additions & 11 deletions build.fsx
Expand Up @@ -53,7 +53,6 @@ let shallBuild = args.IsTask("build")
let shallTest = args.IsTask("test")
let shallPublish = args.IsTask("publish")
let shallPack = args.IsTask("pack")
let shallFormat = args.IsTask("format")

let toolRestore = "toolRestore", fun () ->
Shell.ExecSuccess ("dotnet", "tool restore")
Expand All @@ -64,9 +63,6 @@ let clean = "clean", fun () ->
++ ".pack"
|> Shell.cleanDirs

let checkFormat = "checkformat", fun () ->
Shell.ExecSuccess ("dotnet", $"fantomas --check ./src/FsHttp/ ./src/Tests/")

let slnPath = "./FsHttp.sln"
let build = "build", fun () ->
Shell.ExecSuccess ("dotnet", $"build {slnPath}")
Expand All @@ -85,9 +81,6 @@ let pack = "pack", fun () ->
Shell.ExecSuccess ("dotnet", sprintf "pack %s -o %s -c Release" p (Path.combine __SOURCE_DIRECTORY__ ".pack"))
)

let format = "format", fun () ->
Shell.ExecSuccess ("dotnet", $"fantomas ./src/FsHttp/ ./src/Tests/")

// TODO: git tag + release
let publish = "publish", fun () ->
let nugetApiKey = Environment.environVar Properties.nugetPushEnvVarName
Expand All @@ -101,19 +94,15 @@ run [
toolRestore

if shallBuild then
checkFormat
build
if shallTest then
test
if shallPack then
pack
if shallPublish then
checkFormat
build
pack
publish
if shallFormat then
format
]

Trace.trace $"Finished script..."
1 change: 0 additions & 1 deletion format.ps1

This file was deleted.

2 changes: 1 addition & 1 deletion src/FsHttp.FSharpData/FsHttp.FSharpData.fsproj
Expand Up @@ -19,7 +19,7 @@
</ItemGroup>
<ItemGroup>
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
<None Include="..\docs\img\logo_small.png" Pack="true" PackagePath="\" />
<None Include="..\..\docs\img\logo_small.png" Pack="true" PackagePath="\" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\FsHttp\FsHttp.fsproj" />
Expand Down
2 changes: 1 addition & 1 deletion src/FsHttp.NewtonsoftJson/FsHttp.NewtonsoftJson.fsproj
Expand Up @@ -19,7 +19,7 @@
</ItemGroup>
<ItemGroup>
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
<None Include="..\docs\img\logo_small.png" Pack="true" PackagePath="\" />
<None Include="..\..\docs\img\logo_small.png" Pack="true" PackagePath="\" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\FsHttp\FsHttp.fsproj" />
Expand Down
2 changes: 1 addition & 1 deletion src/FsHttp/FsHttp.fsproj
Expand Up @@ -37,6 +37,6 @@
</ItemGroup>
<ItemGroup>
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
<None Include="..\docs\img\logo_small.png" Pack="true" PackagePath="\" />
<None Include="..\..\docs\img\logo_small.png" Pack="true" PackagePath="\" />
</ItemGroup>
</Project>

0 comments on commit 34c72f2

Please sign in to comment.