Skip to content

Commit 630e64f

Browse files
committed
WOrk CI-CD
- Fix repo name. - Brought azure yaml to latest. - Fix nuspecs. - Fix badges in readme. ***NO_CI***
1 parent 290ca6c commit 630e64f

6 files changed

+24
-21
lines changed

.github_changelog_generator

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
user=nanoframework
2-
project=lib-CoreLibrary
2+
project=CoreLibrary
33
issues=true
44
add_issues_wo_labels=false
55
add_pr_wo_labels=false

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=nanoframework_lib-CoreLibrary&metric=alert_status)](https://sonarcloud.io/dashboard?id=nanoframework_lib-CoreLibrary) [![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=nanoframework_lib-CoreLibrary&metric=reliability_rating)](https://sonarcloud.io/dashboard?id=nanoframework_lib-CoreLibrary) [![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE) [![NuGet](https://img.shields.io/nuget/dt/nanoFramework.CoreLibrary.svg?label=NuGet&style=flat&logo=nuget)](https://www.nuget.org/packages/nanoFramework.CoreLibrary/) [![#yourfirstpr](https://img.shields.io/badge/first--timers--only-friendly-blue.svg)](https://github.com/nanoframework/Home/blob/master/CONTRIBUTING.md)
1+
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=nanoframework_lib-CoreLibrary&metric=alert_status)](https://sonarcloud.io/dashboard?id=nanoframework_lib-CoreLibrary) [![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=nanoframework_lib-CoreLibrary&metric=reliability_rating)](https://sonarcloud.io/dashboard?id=nanoframework_lib-CoreLibrary) [![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE) [![NuGet](https://img.shields.io/nuget/dt/nanoFramework.CoreLibrary.svg?label=NuGet&style=flat&logo=nuget)](https://www.nuget.org/packages/nanoFramework.CoreLibrary/) [![#yourfirstpr](https://img.shields.io/badge/first--timers--only-friendly-blue.svg)](https://github.com/nanoframework/Home/blob/main/CONTRIBUTING.md)
22
[![Discord](https://img.shields.io/discord/478725473862549535.svg?logo=discord&logoColor=white&label=Discord&color=7289DA)](https://discord.gg/gCyBu8T)
33

4-
![nanoFramework logo](https://github.com/nanoframework/Home/blob/master/resources/logo/nanoFramework-repo-logo.png)
4+
![nanoFramework logo](https://github.com/nanoframework/Home/blob/main/resources/logo/nanoFramework-repo-logo.png)
55

66
-----
77

@@ -11,20 +11,20 @@
1111

1212
| Component | Build Status | NuGet Package |
1313
|:-|---|---|
14-
| Base Class Library | [![Build Status](https://dev.azure.com/nanoframework/CoreLibrary/_apis/build/status/nanoframework.lib-CoreLibrary?branchName=develop)](https://dev.azure.com/nanoframework/CoreLibrary/_build/latest?definitionId=24?branchName=master) | [![NuGet](https://img.shields.io/nuget/v/nanoFramework.CoreLibrary.svg?label=NuGet&style=flat&logo=nuget)](https://www.nuget.org/packages/nanoFramework.CoreLibrary/) |
15-
| Base Class Library w/o reflection | [![Build Status](https://dev.azure.com/nanoframework/CoreLibrary/_apis/build/status/nanoframework.lib-CoreLibrary?branchName=develop)](https://dev.azure.com/nanoframework/CoreLibrary/_build/latest?definitionId=24?branchName=master) | [![NuGet](https://img.shields.io/nuget/v/nanoFramework.CoreLibrary.NoReflection.svg?label=NuGet&style=flat&logo=nuget)](https://www.nuget.org/packages/nanoFramework.CoreLibrary.NoReflection/) |
16-
| Base Class Library (preview) | [![Build Status](https://dev.azure.com/nanoframework/CoreLibrary/_apis/build/status/nanoframework.lib-CoreLibrary?branchName=develop)](https://dev.azure.com/nanoframework/CoreLibrary/_build/latest?definitionId=24?branchName=develop) | [![](https://badgen.net/badge/NuGet/preview/D7B023?icon=https://simpleicons.now.sh/azuredevops/fff)](https://dev.azure.com/nanoframework/feed/_packaging?_a=package&feed=sandbox&package=nanoFramework.CoreLibrary&protocolType=NuGet&view=overview) |
17-
| Base Class Library w/o reflection (preview) | [![Build Status](https://dev.azure.com/nanoframework/CoreLibrary/_apis/build/status/nanoframework.lib-CoreLibrary?branchName=develop)](https://dev.azure.com/nanoframework/CoreLibrary/_build/latest?definitionId=24?branchName=develop) | [![](https://badgen.net/badge/NuGet/preview/D7B023?icon=https://simpleicons.now.sh/azuredevops/fff)](https://dev.azure.com/nanoframework/feed/_packaging?_a=package&feed=sandbox&package=nanoFramework.CoreLibrary.NoReflection&protocolType=NuGet&view=overview) |
14+
| Base Class Library | [![Build Status](https://dev.azure.com/nanoframework/CoreLibrary/_apis/build/status/nanoframework.CoreLibrary?repoName=nanoframework%2FCoreLibrary&branchName=main)](https://dev.azure.com/nanoframework/CoreLibrary/_build/latest?definitionId=24&repoName=nanoframework%2FCoreLibrary&branchName=main) | [![NuGet](https://img.shields.io/nuget/v/nanoFramework.CoreLibrary.svg?label=NuGet&style=flat&logo=nuget)](https://www.nuget.org/packages/nanoFramework.CoreLibrary/) |
15+
| Base Class Library w/o reflection | [![Build Status](https://dev.azure.com/nanoframework/CoreLibrary/_apis/build/status/nanoframework.CoreLibrary?repoName=nanoframework%2FCoreLibrary&branchName=main)](https://dev.azure.com/nanoframework/CoreLibrary/_build/latest?definitionId=24&repoName=nanoframework%2FCoreLibrary&branchName=main) | [![NuGet](https://img.shields.io/nuget/v/nanoFramework.CoreLibrary.NoReflection.svg?label=NuGet&style=flat&logo=nuget)](https://www.nuget.org/packages/nanoFramework.CoreLibrary.NoReflection/) |
16+
| Base Class Library (preview) | [![Build Status](https://dev.azure.com/nanoframework/CoreLibrary/_apis/build/status/nanoframework.CoreLibrary?repoName=nanoframework%2FCoreLibrary&branchName=develop)](https://dev.azure.com/nanoframework/CoreLibrary/_build/latest?definitionId=24&repoName=nanoframework%2FCoreLibrary&branchName=develop) | [![NuGet](https://img.shields.io/nuget/vpre/nanoFramework.CoreLibrary.svg?label=NuGet&style=flat&logo=nuget)](https://www.nuget.org/packages/nanoFramework.CoreLibrary/) |
17+
| Base Class Library w/o reflection (preview) | [![Build Status](https://dev.azure.com/nanoframework/CoreLibrary/_apis/build/status/nanoframework.CoreLibrary?repoName=nanoframework%2FCoreLibrary&branchName=develop)](https://dev.azure.com/nanoframework/CoreLibrary/_build/latest?definitionId=24&repoName=nanoframework%2FCoreLibrary&branchName=develop) | [![NuGet](https://img.shields.io/nuget/vpre/nanoFramework.CoreLibrary.NoReflection.svg?label=NuGet&style=flat&logo=nuget)](https://www.nuget.org/packages/nanoFramework.CoreLibrary.NoReflection/) |
1818

1919
## BCL Flavours
2020

21-
The **nanoFramework** Base Class Library is provided in two flavours: with or without support for System.Reflection namespace. The reason for this is that the reflection API adds up a significant size to the DLL and image size. For targets with smaller flash this can be prohibitive.
21+
The .NET **nanoFramework** Base Class Library is provided in two flavours: with or without support for System.Reflection namespace. The reason for this is that the reflection API adds up a significant size to the DLL and image size. For targets with smaller flash this can be prohibitive.
2222

2323
## Unit Test
2424

2525
nanoFramework has a dedicated [Unit Test framework](https://github.com/nanoframework/nanoFramework.TestFramework). This repository has Unit Test and you will find all of them under the `Tests`folder. The main solution embed all all the tests as well. You can run them directly from Visual Studio and create new tests. For more information on the [Unit Test Framework](https://docs.nanoframework.net/content/unit-test/index.html).
2626

27-
lib-CoreLibrary has specific needs that differ from what you'll find in the documentation:
27+
CoreLibrary has specific needs that differ from what you'll find in the documentation:
2828

2929
- You need to have th nanoFramework.TestFramework as a nuget package as it will bring the nanoCLR Win32 emulator
3030
- You need to remove the reference to mscorlib, nanoFramework.TestFramework and nanoFramework.UnitTestLauncher
@@ -62,7 +62,7 @@ Join our Discord community [here](https://discord.gg/gCyBu8T).
6262

6363
## Credits
6464

65-
The list of contributors to this project can be found at [CONTRIBUTORS](https://github.com/nanoframework/Home/blob/master/CONTRIBUTORS.md).
65+
The list of contributors to this project can be found at [CONTRIBUTORS](https://github.com/nanoframework/Home/blob/main/CONTRIBUTORS.md).
6666

6767
## License
6868

azure-pipelines.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
trigger:
22
branches:
3-
include: [main, master, develop, "release-*" ]
3+
include: [main, develop, "release-*" ]
44
paths:
5-
exclude: ["*.md", .gitignore]
5+
exclude: [README.md, LICENSE.md, NuGet.Config, .github_changelog_generator, .gitignore]
66
tags:
77
include: ["v*"]
88

@@ -151,12 +151,15 @@ jobs:
151151
nanoFramework.Runtime.Events
152152
nanoFramework.Runtime.Native
153153
nanoFramework.System.Threading
154+
nanoFramework.TestFramework
155+
nanoFramework.Logging
154156
Windows.Devices.Adc
155157
Windows.Devices.I2c
156158
Windows.Devices.Pwm
157159
Windows.Devices.Spi
158160
System.Device.Dac
159161
System.Device.I2c
162+
System.Device.Spi
160163
nanoFramework.Devices.OneWire
161164
nanoFramework.Networking.Sntp
162165
nanoFramework.Hardware.Stm32

nanoFramework.CoreLibrary.DELIVERABLES.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<license type="file">LICENSE.md</license>
1111
<releaseNotes></releaseNotes>
1212
<developmentDependency>false</developmentDependency>
13-
<projectUrl>https://github.com/nanoframework/lib-CoreLibrary</projectUrl>
13+
<projectUrl>https://github.com/nanoframework/CoreLibrary</projectUrl>
1414
<icon>nf-logo.png</icon>
1515
<copyright>Copyright (c) .NET Foundation and Contributors</copyright>
1616
<description>** DON'T REFERENCE THIS PACKAGE ** Not meant for development. This package includes the deliverable artifacts of the base class library (mscorlib) of nanoFramework. These are for testing purposes and for updating the native code base of the core library.</description>

nanoFramework.CoreLibrary.NoReflection.nuspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
<releaseNotes></releaseNotes>
1212
<developmentDependency>false</developmentDependency>
1313
<projectUrl>https://github.com/nanoframework/lib-CoreLibrary</projectUrl>
14-
<icon>nf-logo.png</icon>
14+
<icon>images\nf-logo.png</icon>
1515
<repository type="git" url="https://github.com/nanoframework/lib-CoreLibrary" commit="$commit$" />
1616
<copyright>Copyright (c) .NET Foundation and Contributors</copyright>
17-
<description>This package includes the nanoFramework.CoreLibrary assembly for nanoFramework C# projects **WITHOUT** the System.Reflection API.&#10;This package requires a target with mscorlib v$nativeVersion$.&#10;There is another version that includes the System.Reflection API.</description>
17+
<description>This package includes the CoreLibrary assembly for .NET nanoFramework C# projects **WITHOUT** the System.Reflection API.&#10;This package requires a target with mscorlib v$nativeVersion$ (checksum $checksum$).&#10;There is another version that includes the System.Reflection API.</description>
1818
<tags>nanoFramework C# csharp netmf netnf nanoFramework.CoreLibrary</tags>
1919
</metadata>
2020
<files>
@@ -24,7 +24,7 @@
2424
<file src="nanoFramework.CoreLibrary\bin\Release\mscorlib.pe" target="lib\mscorlib.pe" />
2525
<file src="nanoFramework.CoreLibrary\bin\Release\mscorlib.xml" target="lib\mscorlib.xml" />
2626

27-
<file src="assets\readme.txt" target="" />
27+
<file src="assets\readme.txt" target="images" />
2828
<file src="assets\nf-logo.png" target="" />
2929
<file src="LICENSE.md" target="" />
3030
</files>

nanoFramework.CoreLibrary.nuspec

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
<license type="file">LICENSE.md</license>
1111
<releaseNotes></releaseNotes>
1212
<developmentDependency>false</developmentDependency>
13-
<projectUrl>https://github.com/nanoframework/lib-CoreLibrary</projectUrl>
14-
<icon>nf-logo.png</icon>
15-
<repository type="git" url="https://github.com/nanoframework/lib-CoreLibrary" commit="$commit$" />
13+
<projectUrl>https://github.com/nanoframework/CoreLibrary</projectUrl>
14+
<icon>images\nf-logo.png</icon>
15+
<repository type="git" url="https://github.com/nanoframework/CoreLibrary" commit="$commit$" />
1616
<copyright>Copyright (c) .NET Foundation and Contributors</copyright>
17-
<description>This package includes the nanoFramework.CoreLibrary assembly for nanoFramework C# projects.&#10;This package requires a target with mscorlib v$nativeVersion$.&#10;In case you don't need the System.Reflection API there is another NuGet package without this API.</description>
17+
<description>This package includes the CoreLibrary assembly for .NET nanoFramework C# projects.&#10;This package requires a target with mscorlib v$nativeVersion$ (checksum $checksum$).&#10;In case you don't need the System.Reflection API there is another NuGet package without this API.</description>
1818
<tags>nanoFramework C# csharp netmf netnf nanoFramework.CoreLibrary</tags>
1919
</metadata>
2020
<files>
@@ -25,7 +25,7 @@
2525
<file src="nanoFramework.CoreLibrary\bin\Release\mscorlib.xml" target="lib\mscorlib.xml" />
2626

2727
<file src="assets\readme.txt" target="" />
28-
<file src="assets\nf-logo.png" target="" />
28+
<file src="assets\nf-logo.png" target="images" />
2929
<file src="LICENSE.md" target="" />
3030
</files>
3131
</package>

0 commit comments

Comments
 (0)