Skip to content

Commit

Permalink
Merge pull request #2 from fslaborg/dogfood-modern-style
Browse files Browse the repository at this point in the history
Dogfood modern style
  • Loading branch information
kMutagene authored Nov 17, 2023
2 parents e04d7c7 + b130c6c commit 3766559
Show file tree
Hide file tree
Showing 26 changed files with 638 additions and 554 deletions.
16 changes: 2 additions & 14 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,8 @@
"version": 1,
"isRoot": true,
"tools": {
"fake-cli": {
"version": "5.20.4",
"commands": [
"fake"
]
},
"excubo.webcompiler": {
"version": "2.7.14",
"commands": [
"webcompiler"
]
},
"fsharp.formatting.commandtool": {
"version": "11.4.0",
"fsdocs-tool": {
"version": "20.0.0-alpha-010",
"commands": [
"fsdocs"
]
Expand Down
21 changes: 6 additions & 15 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,17 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v3
with:
dotnet-version: '3.1.x'
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.100
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: '12'
- name: install node packages
run: npm install
dotnet-version: 8.x.x
- name: Restore tools
run: dotnet tool restore
- name: make script executable
run: chmod u+x build.sh
- name: Build example docs
run: dotnet fake build -t buildDocs
run: build.sh buildDocs
- name: deploy
uses: JamesIves/[email protected]
with:
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
[Dd]ebug/
[Rr]elease/
x64/
build/
[Bb]in/
[Oo]bj/

Expand Down
2 changes: 1 addition & 1 deletion Content/docs-template.fsproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
<PropertyGroup>
Expand Down
82 changes: 0 additions & 82 deletions Content/docs/_template.html

This file was deleted.

Loading

0 comments on commit 3766559

Please sign in to comment.