Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generic globals #29

Closed
wants to merge 29 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
500c665
add nullable fix
adamhathcock Feb 28, 2023
7433745
test annotation
adamhathcock Feb 28, 2023
dc5204a
Rename interface generator
adamhathcock May 17, 2024
a455e2b
Merge pull request #1 from adamhathcock/fix-nullable
adamhathcock May 17, 2024
1920ade
folder rename
adamhathcock May 17, 2024
c0c79ef
Merge remote-tracking branch 'origin/master'
adamhathcock May 17, 2024
6945bae
update and format
adamhathcock May 17, 2024
47b3d45
fixes
adamhathcock May 17, 2024
d1477d8
add correct nuget token
adamhathcock May 17, 2024
40d725f
update actions more
adamhathcock May 17, 2024
e1a345a
retarget to not have conflicts
adamhathcock May 17, 2024
bcaf476
always write nullable context
adamhathcock May 17, 2024
b4188aa
bump version
adamhathcock May 18, 2024
6309adf
warnings as errors
adamhathcock May 18, 2024
065d6c7
trying to fix build error
adamhathcock May 20, 2024
dc132d2
mark for 0.9.3
adamhathcock May 20, 2024
da4a8a0
proper naming
adamhathcock May 20, 2024
3e620ee
fix more strict nuget guidelines
adamhathcock May 20, 2024
f60ee53
put back some options and mark for 0.9.4
adamhathcock May 20, 2024
88dc7fc
fix up actions
adamhathcock Jun 3, 2024
e6b909e
generate attribute as g.cs and 0.9.5
adamhathcock Jun 7, 2024
3c59215
Use Global namespaces for some types
adamhathcock Jul 30, 2024
f6688fa
0.9.6
adamhathcock Jul 30, 2024
65b813f
Merge pull request #2 from specklesystems/global-namespace
adamhathcock Jul 30, 2024
2102764
Return a generic value
adamhathcock Aug 22, 2024
42a1a3c
0.9.7
adamhathcock Aug 22, 2024
80c3145
Merge pull request #3 from specklesystems/return-generic-type
adamhathcock Sep 2, 2024
657fb07
Properly convert type to globals with namespace
adamhathcock Sep 3, 2024
26d8506
0.9.8
adamhathcock Sep 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"version": 1,
"isRoot": true,
"tools": {
"csharpier": {
"version": "0.28.2",
"commands": [
"dotnet-csharpier"
]
}
}
}
568 changes: 568 additions & 0 deletions .editorconfig

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions" # search for actions - there are other options available
directory: "/" # search in .github/workflows under root `/`
schedule:
interval: "weekly" # check for action update every week
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: "Check Build"

on:
pull_request:

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout Project
uses: actions/checkout@v4

- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x

- name: Restore dependencies
run: dotnet restore

- name: Build
run: dotnet build --configuration Debug --no-restore

- name: Test
run: dotnet test --no-build --configuration Debug --verbosity normal
17 changes: 6 additions & 11 deletions .github/workflows/nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,29 +6,24 @@ on:
jobs:
deploy:
runs-on: ubuntu-latest
env:
DOTNET_CLI_TELEMETRY_OPTOUT: true

steps:
- name: Checkout Project
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Setup .NET
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x
dotnet-version: 8.0.x

- name: Restore dependencies
run: dotnet restore

- name: Build
run: dotnet build --configuration Release --no-restore

- name: Test
run: dotnet test --no-build --configuration Release --verbosity normal
run: dotnet build --configuration Release --no-restore Speckle.InterfaceGenerator/Speckle.InterfaceGenerator.csproj

- name: Pack
run: dotnet pack --no-build --configuration Release InterfaceGenerator/InterfaceGenerator.csproj --output .
run: dotnet pack --no-build --configuration Release Speckle.InterfaceGenerator/Speckle.InterfaceGenerator.csproj --output .

- name: Push to nuget.org
run: dotnet nuget push *.nupkg --source "https://api.nuget.org/v3/index.json" --api-key ${{secrets.NUGET_API_KEY}} --skip-duplicate
run: dotnet nuget push *.nupkg --source "https://api.nuget.org/v3/index.json" --api-key ${{secrets.CONNECTORS_NUGET_TOKEN }} --skip-duplicate
20 changes: 0 additions & 20 deletions InterfaceGenerator.Tests/InterfaceGenerator.Tests.csproj

This file was deleted.

7 changes: 0 additions & 7 deletions InterfaceGenerator.Tests/Partial/PartialClass.1.cs

This file was deleted.

8 changes: 0 additions & 8 deletions InterfaceGenerator.Tests/Partial/PartialClass.2.cs

This file was deleted.

16 changes: 0 additions & 16 deletions InterfaceGenerator.Tests/PartialClassTests.cs

This file was deleted.

12 changes: 0 additions & 12 deletions InterfaceGenerator.Tests/SameName/SameNameClass.1.cs

This file was deleted.

14 changes: 0 additions & 14 deletions InterfaceGenerator/AttributeDataExtensions.cs

This file was deleted.

43 changes: 0 additions & 43 deletions InterfaceGenerator/Attributes.cs

This file was deleted.

Loading
Loading