-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrated repository from fabulous-dev/Fabulous
- Loading branch information
1 parent
1799f37
commit 6ea21ee
Showing
282 changed files
with
13,996 additions
and
203 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"version": 1, | ||
"isRoot": true, | ||
"tools": { | ||
"fantomas": { | ||
"version": "5.1.4", | ||
"commands": [ | ||
"fantomas" | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[*.fs] | ||
fsharp_space_before_lowercase_invocation = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"microsoft.net.sdk.maui": "7.0.49" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Build | ||
on: | ||
push: | ||
branches: [ 'v2.1' ] | ||
paths-ignore: [ 'docs/**' ] | ||
|
||
permissions: write-all | ||
|
||
env: | ||
VERSION: 2.1.0 | ||
|
||
jobs: | ||
build: | ||
runs-on: macos-12 | ||
env: | ||
SLN_FILE: Fabulous.MauiControls.NoSamples.sln | ||
TEMPLATE_PROJ: templates/Fabulous.MauiControls.Templates.proj | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: 7.0.x | ||
- name: Install dotnet workload | ||
run: dotnet workload install maui --from-rollback-file .github/workflows/WorkloadManifest.json | ||
- name: Restore | ||
run: dotnet restore ${SLN_FILE} | ||
- name: Build | ||
run: dotnet build ${SLN_FILE} -p:Version=${VERSION}-nightly-${GITHUB_RUN_ID} --no-restore --configuration Release | ||
- name: Test | ||
run: dotnet test ${SLN_FILE} -p:Version=${VERSION}-nightly-${GITHUB_RUN_ID} --no-build --configuration Release | ||
- name: Pack | ||
run: | | ||
find templates -type f -name template.json | xargs sed -i bak "s/FABULOUS_PKG_VERSION/${VERSION}-nightly-${GITHUB_RUN_ID}/g" | ||
dotnet pack ${SLN_FILE} -p:Version=${VERSION}-nightly-${GITHUB_RUN_ID} --configuration Release --output nupkgs | ||
dotnet pack ${TEMPLATE_PROJ} -p:Version=${VERSION}-nightly-${GITHUB_RUN_ID} -p:IsNightlyBuild=true --configuration Release --output nupkgs | ||
- name: Push | ||
run: | | ||
dotnet nuget push "nupkgs/*.nupkg" -s https://nuget.pkg.github.com/fabulous-dev/index.json -k ${{ secrets.GITHUB_TOKEN }} --skip-duplicate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Pull Request | ||
on: pull_request | ||
|
||
jobs: | ||
build: | ||
runs-on: macos-12 | ||
env: | ||
SLN_FILE: Fabulous.MauiControls.NoSamples.sln | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: 7.0.x | ||
- name: Check code formatting | ||
run: | | ||
dotnet tool restore | ||
dotnet fantomas --check -r src samples templates | ||
- name: Install dotnet workload | ||
run: dotnet workload install maui --from-rollback-file .github/workflows/WorkloadManifest.json | ||
- name: Restore | ||
run: dotnet restore ${SLN_FILE} | ||
- name: Build | ||
run: dotnet build ${SLN_FILE} --no-restore --configuration Release | ||
- name: Test | ||
run: dotnet test ${SLN_FILE} --no-build --configuration Release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Release | ||
on: | ||
push: | ||
tags: ['[0-9]+.[0-9]+.[0-9]+'] | ||
paths-ignore: [ 'docs/**' ] | ||
|
||
permissions: write-all | ||
|
||
jobs: | ||
build: | ||
runs-on: macos-12 | ||
environment: nuget | ||
env: | ||
SLN_FILE: Fabulous.MauiControls.NoSamples.sln | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Extract version from tag | ||
uses: damienaicheh/[email protected] | ||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: 7.0.x | ||
- name: Install dotnet workload | ||
run: dotnet workload install maui --from-rollback-file .github/workflows/WorkloadManifest.json | ||
- name: Restore | ||
run: dotnet restore ${SLN_FILE} | ||
- name: Build | ||
run: dotnet build ${SLN_FILE} -p:Version="${MAJOR}.${MINOR}.${PATCH}" --no-restore --configuration Release | ||
- name: Test | ||
run: dotnet test ${SLN_FILE} -p:Version="${MAJOR}.${MINOR}.${PATCH}" --no-build --configuration Release | ||
- name: Pack | ||
run: | | ||
find templates -type f -name template.json | xargs sed -i bak "s/FABULOUS_PKG_VERSION/${MAJOR}.${MINOR}.${PATCH}/g" | ||
dotnet pack ${SLN_FILE} -p:Version="${MAJOR}.${MINOR}.${PATCH}" --configuration Release --output nupkgs | ||
dotnet pack templates/Maui/Fabulous.MauiControls.Templates.proj -p:Version="${MAJOR}.${MINOR}.${PATCH}" --configuration Release --output nupkgs | ||
- name: Push | ||
run: | | ||
dotnet nuget push "nupkgs/*.nupkg" -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_TOKEN }} --skip-duplicate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
### Version 2.1.1 | ||
|
||
#### General | ||
- Fabulous.MauiControls has moved from the Fabulous repository to its own repository: [https://github.com/fabulous-dev/Fabulous.MauiControls](https://github.com/fabulous-dev/Fabulous.MauiControls) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Version 17 | ||
VisualStudioVersion = 17.0.31903.59 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{B3E7017C-80B3-4759-9E46-E485F9D28AD6}" | ||
EndProject | ||
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "Fabulous.MauiControls", "src\Fabulous.MauiControls\Fabulous.MauiControls.fsproj", "{09EE9FB7-A5EB-477E-B709-55887D66D5A4}" | ||
EndProject | ||
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "Fabulous.MauiControls.Tests", "src\Fabulous.MauiControls.Tests\Fabulous.MauiControls.Tests.fsproj", "{601B45BF-2CEB-4B8A-A222-EB151FF876C3}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{09EE9FB7-A5EB-477E-B709-55887D66D5A4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{09EE9FB7-A5EB-477E-B709-55887D66D5A4}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{09EE9FB7-A5EB-477E-B709-55887D66D5A4}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{09EE9FB7-A5EB-477E-B709-55887D66D5A4}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{601B45BF-2CEB-4B8A-A222-EB151FF876C3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{601B45BF-2CEB-4B8A-A222-EB151FF876C3}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{601B45BF-2CEB-4B8A-A222-EB151FF876C3}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{601B45BF-2CEB-4B8A-A222-EB151FF876C3}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(NestedProjects) = preSolution | ||
{09EE9FB7-A5EB-477E-B709-55887D66D5A4} = {B3E7017C-80B3-4759-9E46-E485F9D28AD6} | ||
{601B45BF-2CEB-4B8A-A222-EB151FF876C3} = {B3E7017C-80B3-4759-9E46-E485F9D28AD6} | ||
EndGlobalSection | ||
EndGlobal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Version 17 | ||
VisualStudioVersion = 17.0.31903.59 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{35A6823C-8312-4F92-818A-5117BB31A569}" | ||
EndProject | ||
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "Fabulous.MauiControls", "src\Fabulous.MauiControls\Fabulous.MauiControls.fsproj", "{67FB01A1-1A3E-4A3B-83DC-7D63B56FB1A1}" | ||
EndProject | ||
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "Fabulous.MauiControls.Tests", "src\Fabulous.MauiControls.Tests\Fabulous.MauiControls.Tests.fsproj", "{3BC34E81-AEDB-47A2-A5EE-4BC70C54A212}" | ||
EndProject | ||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{87C8E9E8-497E-46DB-90FE-4402E0CB230A}" | ||
EndProject | ||
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "CounterApp", "samples\CounterApp\CounterApp.fsproj", "{64FDA357-5630-4501-B652-430EE25B9431}" | ||
EndProject | ||
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "HelloWorld", "samples\HelloWorld\HelloWorld.fsproj", "{0A0FE5C9-AE61-4A70-B56E-2B807111D681}" | ||
EndProject | ||
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "Playground", "samples\Playground\Playground.fsproj", "{BD278E92-A806-4913-AB2D-59D59FE8E2AD}" | ||
EndProject | ||
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "TicTacToe", "samples\TicTacToe\TicTacToe.fsproj", "{97FE743C-512F-44BA-92CF-3EB3A7972E5D}" | ||
EndProject | ||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "_Solution Files", "_Solution Files", "{20E44B0C-FA62-4DE4-8017-95AAE3B178CE}" | ||
ProjectSection(SolutionItems) = preProject | ||
README.md = README.md | ||
CHANGELOG.md = CHANGELOG.md | ||
LICENSE.md = LICENSE.md | ||
.gitignore = .gitignore | ||
pull_request.yml = .github/workflows/pull_request.yml | ||
build.yml = .github/workflows/build.yml | ||
release.yml = .github/workflows/release.yml | ||
EndProjectSection | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{67FB01A1-1A3E-4A3B-83DC-7D63B56FB1A1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{67FB01A1-1A3E-4A3B-83DC-7D63B56FB1A1}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{67FB01A1-1A3E-4A3B-83DC-7D63B56FB1A1}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{67FB01A1-1A3E-4A3B-83DC-7D63B56FB1A1}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{3BC34E81-AEDB-47A2-A5EE-4BC70C54A212}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{3BC34E81-AEDB-47A2-A5EE-4BC70C54A212}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{3BC34E81-AEDB-47A2-A5EE-4BC70C54A212}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{3BC34E81-AEDB-47A2-A5EE-4BC70C54A212}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{64FDA357-5630-4501-B652-430EE25B9431}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{64FDA357-5630-4501-B652-430EE25B9431}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{64FDA357-5630-4501-B652-430EE25B9431}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{64FDA357-5630-4501-B652-430EE25B9431}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{64FDA357-5630-4501-B652-430EE25B9431}.Debug|Any CPU.Deploy.0 = Debug|Any CPU | ||
{64FDA357-5630-4501-B652-430EE25B9431}.Release|Any CPU.Deploy.0 = Release|Any CPU | ||
{0A0FE5C9-AE61-4A70-B56E-2B807111D681}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{0A0FE5C9-AE61-4A70-B56E-2B807111D681}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{0A0FE5C9-AE61-4A70-B56E-2B807111D681}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{0A0FE5C9-AE61-4A70-B56E-2B807111D681}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{0A0FE5C9-AE61-4A70-B56E-2B807111D681}.Debug|Any CPU.Deploy.0 = Debug|Any CPU | ||
{0A0FE5C9-AE61-4A70-B56E-2B807111D681}.Release|Any CPU.Deploy.0 = Release|Any CPU | ||
{BD278E92-A806-4913-AB2D-59D59FE8E2AD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{BD278E92-A806-4913-AB2D-59D59FE8E2AD}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{BD278E92-A806-4913-AB2D-59D59FE8E2AD}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{BD278E92-A806-4913-AB2D-59D59FE8E2AD}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{BD278E92-A806-4913-AB2D-59D59FE8E2AD}.Debug|Any CPU.Deploy.0 = Debug|Any CPU | ||
{BD278E92-A806-4913-AB2D-59D59FE8E2AD}.Release|Any CPU.Deploy.0 = Release|Any CPU | ||
{97FE743C-512F-44BA-92CF-3EB3A7972E5D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{97FE743C-512F-44BA-92CF-3EB3A7972E5D}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{97FE743C-512F-44BA-92CF-3EB3A7972E5D}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{97FE743C-512F-44BA-92CF-3EB3A7972E5D}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{97FE743C-512F-44BA-92CF-3EB3A7972E5D}.Debug|Any CPU.Deploy.0 = Debug|Any CPU | ||
{97FE743C-512F-44BA-92CF-3EB3A7972E5D}.Release|Any CPU.Deploy.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(NestedProjects) = preSolution | ||
{67FB01A1-1A3E-4A3B-83DC-7D63B56FB1A1} = {35A6823C-8312-4F92-818A-5117BB31A569} | ||
{3BC34E81-AEDB-47A2-A5EE-4BC70C54A212} = {35A6823C-8312-4F92-818A-5117BB31A569} | ||
{64FDA357-5630-4501-B652-430EE25B9431} = {87C8E9E8-497E-46DB-90FE-4402E0CB230A} | ||
{0A0FE5C9-AE61-4A70-B56E-2B807111D681} = {87C8E9E8-497E-46DB-90FE-4402E0CB230A} | ||
{BD278E92-A806-4913-AB2D-59D59FE8E2AD} = {87C8E9E8-497E-46DB-90FE-4402E0CB230A} | ||
{97FE743C-512F-44BA-92CF-3EB3A7972E5D} = {87C8E9E8-497E-46DB-90FE-4402E0CB230A} | ||
EndGlobalSection | ||
EndGlobal |
Oops, something went wrong.