Skip to content

Commit d661e4f

Browse files
authored
Merge pull request #2 from pfpack/release/v0.1.0
Release/v0.1.0
2 parents 50385e6 + 5c4cf64 commit d661e4f

40 files changed

Lines changed: 949 additions & 885 deletions

.github/workflows/dotnet.yml

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
name: .NET
1+
name: Setup CodeAnalysis .NET
22

33
on:
44
push:
55
branches: [ main, dev, feature/*, fix/*, release/* ]
66

7-
pull_request:
8-
branches: [ main ]
9-
107
release:
118
types: [ published ]
129

@@ -16,14 +13,15 @@ jobs:
1613
runs-on: ubuntu-latest
1714

1815
steps:
19-
- name: Checkout repository
20-
uses: actions/checkout@v4
21-
22-
- name: Setup .NET
23-
uses: actions/setup-dotnet@v4
16+
- name: Checkout repo
17+
uses: actions/checkout@v6
18+
- name: Setup dotnet
19+
uses: actions/setup-dotnet@v5
2420
with:
2521
dotnet-version: |
26-
9.0.x
22+
10.0.x
23+
# dotnet-quality: 'preview' # When using preview versions
24+
dotnet-quality: 'ga' # General Availability
2725

2826
# Create Local NuGet Source
2927

@@ -55,6 +53,17 @@ jobs:
5553
- name: Pack CodeAnalysis.SourceBuilder
5654
run: dotnet pack ./src/*/CodeAnalysis.SourceBuilder.csproj --no-restore -o ~/nuget -c Release
5755

56+
# CodeAnalysis
57+
58+
- name: Restore CodeAnalysis
59+
run: dotnet restore ./src/*/CodeAnalysis.csproj
60+
61+
- name: Build CodeAnalysis
62+
run: dotnet build ./src/*/CodeAnalysis.csproj --no-restore -c Release
63+
64+
- name: Pack CodeAnalysis
65+
run: dotnet pack ./src/*/CodeAnalysis.csproj --no-restore -o ~/nuget -c Release
66+
5867
# Push
5968

6069
- name: Push Packages

.gitignore

Lines changed: 49 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
*.user
1010
*.userosscache
1111
*.sln.docstates
12+
*.env
1213

1314
# User-specific files (MonoDevelop/Xamarin Studio)
1415
*.userprefs
@@ -21,17 +22,37 @@ mono_crash.*
2122
[Dd]ebugPublic/
2223
[Rr]elease/
2324
[Rr]eleases/
24-
x64/
25-
x86/
25+
26+
[Dd]ebug/x64/
27+
[Dd]ebugPublic/x64/
28+
[Rr]elease/x64/
29+
[Rr]eleases/x64/
30+
bin/x64/
31+
obj/x64/
32+
33+
[Dd]ebug/x86/
34+
[Dd]ebugPublic/x86/
35+
[Rr]elease/x86/
36+
[Rr]eleases/x86/
37+
bin/x86/
38+
obj/x86/
39+
2640
[Ww][Ii][Nn]32/
2741
[Aa][Rr][Mm]/
2842
[Aa][Rr][Mm]64/
43+
[Aa][Rr][Mm]64[Ee][Cc]/
2944
bld/
30-
[Bb]in/
3145
[Oo]bj/
46+
[Oo]ut/
3247
[Ll]og/
3348
[Ll]ogs/
3449

50+
# Build results on 'Bin' directories
51+
**/[Bb]in/*
52+
# Uncomment if you have tasks that rely on *.refresh files to move binaries
53+
# (https://github.com/github/gitignore/pull/3736)
54+
#!**/[Bb]in/*.refresh
55+
3556
# Visual Studio 2015/2017 cache/options directory
3657
.vs/
3758
# Uncomment if you have tasks that create the project's static files in wwwroot
@@ -43,12 +64,16 @@ Generated\ Files/
4364
# MSTest test Results
4465
[Tt]est[Rr]esult*/
4566
[Bb]uild[Ll]og.*
67+
*.trx
4668

4769
# NUnit
4870
*.VisualState.xml
4971
TestResult.xml
5072
nunit-*.xml
5173

74+
# Approval Tests result files
75+
*.received.*
76+
5277
# Build Results of an ATL Project
5378
[Dd]ebugPS/
5479
[Rr]eleasePS/
@@ -75,13 +100,16 @@ StyleCopReport.xml
75100
*.ilk
76101
*.meta
77102
*.obj
103+
*.idb
78104
*.iobj
79105
*.pch
80106
*.pdb
81107
*.ipdb
82108
*.pgc
83109
*.pgd
84110
*.rsp
111+
# but not Directory.Build.rsp, as it configures directory-level build defaults
112+
!Directory.Build.rsp
85113
*.sbr
86114
*.tlb
87115
*.tli
@@ -153,6 +181,7 @@ coverage*.info
153181

154182
# NCrunch
155183
_NCrunch_*
184+
.NCrunch_*
156185
.*crunch*.local.xml
157186
nCrunchTemp_*
158187

@@ -294,9 +323,6 @@ node_modules/
294323
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
295324
*.vbw
296325

297-
# Visual Studio 6 auto-generated project file (contains which files were open etc.)
298-
*.vbp
299-
300326
# Visual Studio 6 workspace and project file (working project files containing files to include in project)
301327
*.dsw
302328
*.dsp
@@ -314,22 +340,22 @@ node_modules/
314340
_Pvt_Extensions
315341

316342
# Paket dependency manager
317-
.paket/paket.exe
343+
**/.paket/paket.exe
318344
paket-files/
319345

320346
# FAKE - F# Make
321-
.fake/
347+
**/.fake/
322348

323349
# CodeRush personal settings
324-
.cr/personal
350+
**/.cr/personal
325351

326352
# Python Tools for Visual Studio (PTVS)
327-
__pycache__/
353+
**/__pycache__/
328354
*.pyc
329355

330356
# Cake - Uncomment if you are using it
331-
# tools/**
332-
# !tools/packages.config
357+
#tools/**
358+
#!tools/packages.config
333359

334360
# Tabs Studio
335361
*.tss
@@ -351,15 +377,19 @@ ASALocalRun/
351377

352378
# MSBuild Binary and Structured Log
353379
*.binlog
380+
MSBuild_Logs/
381+
382+
# AWS SAM Build and Temporary Artifacts folder
383+
.aws-sam
354384

355385
# NVidia Nsight GPU debugger configuration file
356386
*.nvuser
357387

358388
# MFractors (Xamarin productivity tool) working folder
359-
.mfractor/
389+
**/.mfractor/
360390

361391
# Local History for Visual Studio
362-
.localhistory/
392+
**/.localhistory/
363393

364394
# Visual Studio History (VSHistory) files
365395
.vshistory/
@@ -371,7 +401,7 @@ healthchecksdb
371401
MigrationBackup/
372402

373403
# Ionide (cross platform F# VS Code tools) working folder
374-
.ionide/
404+
**/.ionide/
375405

376406
# Fody - auto-generated XML schema
377407
FodyWeavers.xsd
@@ -382,17 +412,17 @@ FodyWeavers.xsd
382412
!.vscode/tasks.json
383413
!.vscode/launch.json
384414
!.vscode/extensions.json
385-
*.code-workspace
415+
!.vscode/*.code-snippets
386416

387417
# Local History for Visual Studio Code
388418
.history/
389419

420+
# Built Visual Studio Code Extensions
421+
*.vsix
422+
390423
# Windows Installer files from build outputs
391424
*.cab
392425
*.msi
393426
*.msix
394427
*.msm
395428
*.msp
396-
397-
# JetBrains Rider
398-
*.sln.iml

CodeAnalysis.sln

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

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2024 PrimeFuncPack Foundation
3+
Copyright (c) 2024-2026 Andrei Sergeev, Pavel Moskovoy
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
# early-codeanalysis
2-
EarlyFuncPack CodeAnalysis is a library for .NET for use in building source generators
1+
# PrimeFuncPack CodeAnalysis
2+
3+
PrimeFuncPack CodeAnalysis is a library pack for .NET for use in building source generators.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# PrimeFuncPack CodeAnalysis.Extensions
2+
3+
PrimeFuncPack CodeAnalysis.Extensions is a library for .NET with special extensions for use in building source generators.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# PrimeFuncPack CodeAnalysis.SourceBuilder
2+
3+
PrimeFuncPack CodeAnalysis.SourceBuilder is a library for .NET with a source builder for use in building source generators.

docs/codeanalysis/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# PrimeFuncPack CodeAnalysis
2+
3+
PrimeFuncPack CodeAnalysis is a library pack for .NET for use in building source generators.
Lines changed: 41 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,41 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
2-
3-
<PropertyGroup>
4-
<TargetFramework>netstandard2.0</TargetFramework>
5-
<LangVersion>latest</LangVersion>
6-
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
7-
<ImplicitUsings>disable</ImplicitUsings>
8-
<Nullable>enable</Nullable>
9-
<InvariantGlobalization>true</InvariantGlobalization>
10-
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
11-
<NoWarn>$(NoWarn);IDE0130;IDE0290</NoWarn>
12-
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
13-
<PackageLicenseFile>LICENSE</PackageLicenseFile>
14-
<PackageReadmeFile>README.md</PackageReadmeFile>
15-
<PackageProjectUrl>https://github.com/pfpack/early-codeanalysis</PackageProjectUrl>
16-
<RepositoryUrl>https://github.com/pfpack/early-codeanalysis</RepositoryUrl>
17-
<Company>pfpack</Company>
18-
<Authors>Andrei Sergeev, Pavel Moskovoy</Authors>
19-
<Copyright>Copyright © 2025 Andrei Sergeev, Pavel Moskovoy</Copyright>
20-
<Description>EarlyFuncPack CodeAnalysis is a library for .NET for use in building source generators.</Description>
21-
<RootNamespace>PrimeFuncPack</RootNamespace>
22-
<AssemblyName>EarlyFuncPack.CodeAnalysis.Extensions</AssemblyName>
23-
<Version>0.0.1</Version>
24-
</PropertyGroup>
25-
26-
<ItemGroup>
27-
<None Include="..\..\LICENSE">
28-
<Pack>True</Pack>
29-
<PackagePath></PackagePath>
30-
</None>
31-
<None Include="..\..\README.md">
32-
<Pack>True</Pack>
33-
<PackagePath></PackagePath>
34-
</None>
35-
</ItemGroup>
36-
37-
<ItemGroup>
38-
<None Include="$(OutputPath)\$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
39-
</ItemGroup>
40-
41-
<ItemGroup>
42-
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.13.0" />
43-
</ItemGroup>
44-
45-
</Project>
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFrameworks>net10.0;netstandard2.0</TargetFrameworks>
5+
<LangVersion>latest</LangVersion>
6+
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
7+
<ImplicitUsings>disable</ImplicitUsings>
8+
<Nullable>enable</Nullable>
9+
<InvariantGlobalization>true</InvariantGlobalization>
10+
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
11+
<NoWarn>$(NoWarn);IDE0130;IDE0290</NoWarn>
12+
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
13+
<PackageLicenseFile>LICENSE</PackageLicenseFile>
14+
<PackageReadmeFile>README.md</PackageReadmeFile>
15+
<PackageProjectUrl>https://github.com/pfpack/early-codeanalysis</PackageProjectUrl>
16+
<RepositoryUrl>https://github.com/pfpack/early-codeanalysis</RepositoryUrl>
17+
<Company>pfpack</Company>
18+
<Authors>Andrei Sergeev, Pavel Moskovoy</Authors>
19+
<Copyright>Copyright © 2024-2026 Andrei Sergeev, Pavel Moskovoy</Copyright>
20+
<Description>PrimeFuncPack CodeAnalysis.Extensions is a library for .NET with special extensions for use in building source generators.</Description>
21+
<RootNamespace>PrimeFuncPack</RootNamespace>
22+
<AssemblyName>EarlyFuncPack.CodeAnalysis.Extensions</AssemblyName>
23+
<Version>0.1.0</Version>
24+
</PropertyGroup>
25+
26+
<ItemGroup>
27+
<None Include="..\..\LICENSE">
28+
<Pack>True</Pack>
29+
<PackagePath></PackagePath>
30+
</None>
31+
<None Include="..\..\docs\codeanalysis-extensions\README.md">
32+
<Pack>True</Pack>
33+
<PackagePath></PackagePath>
34+
</None>
35+
</ItemGroup>
36+
37+
<ItemGroup>
38+
<PackageReference Include="Microsoft.CodeAnalysis.Common" Version="5.3.0" />
39+
</ItemGroup>
40+
41+
</Project>

0 commit comments

Comments
 (0)