{"id":14961000,"url":"https://github.com/chrisyarbrough/pandority","last_synced_at":"2025-10-24T20:30:42.880Z","repository":{"id":154119034,"uuid":"631691501","full_name":"chrisyarbrough/pandority","owner":"chrisyarbrough","description":"Roslyn source generators for Unity projects. Useful as a learning resource or getting started.","archived":false,"fork":false,"pushed_at":"2023-05-11T20:46:29.000Z","size":284,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-31T03:54:06.498Z","etag":null,"topics":["roslyn","roslyn-generator","unity","upm-package"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chrisyarbrough.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-23T20:10:15.000Z","updated_at":"2024-06-16T03:38:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"614337bd-af11-4ca4-8a38-9cb9138b823d","html_url":"https://github.com/chrisyarbrough/pandority","commit_stats":{"total_commits":17,"total_committers":1,"mean_commits":17.0,"dds":0.0,"last_synced_commit":"43fac620c9b09091f91d4a8fcc2eb05e1f37968e"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisyarbrough%2Fpandority","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisyarbrough%2Fpandority/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisyarbrough%2Fpandority/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisyarbrough%2Fpandority/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chrisyarbrough","download_url":"https://codeload.github.com/chrisyarbrough/pandority/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238030288,"owners_count":19404859,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["roslyn","roslyn-generator","unity","upm-package"],"created_at":"2024-09-24T13:23:37.186Z","updated_at":"2025-10-24T20:30:42.478Z","avatar_url":"https://github.com/chrisyarbrough.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pandority\n\nRoslyn source generators for Unity projects:\n\n- [Enum HasFlag](Documentation~/EnumHasFlagGenerator.md)\n- [Accessors](Documentation~/AccessorsGenerator.md)\n\n## Requirements\n\n**To use**\n\n- Unity 2021.3 or newer\n\n**To develop**\n\n- JetBrains Rider or Visual Studio\n- [NET 6.0 SDK](https://dotnet.microsoft.com/en-us/download)\n\n## Setup\n\nInstall the package to your Unity project.\n\nThe package comes with a Unity AssetPostprocessor which automatically configures the `Pandority.dll` importer.\nAs a \"bonus\" feature, it will also apply the correct settings to any DLL whose name ends with `SourceGenerator.dll`.\n\n## Troubleshooting\n\nIf you encounter issue during setup,\nconsult the [Unity documentation](https://docs.unity3d.com/2021.3/Documentation/Manual/roslyn-analyzers.html)\n\nIf the source generator fails to produce output, check for a crash log in these locations:\n\n| Operating System | Log File Location          |\n|-----------------:|:---------------------------|\n|            macOS | `~/Library/Logs/Pandority` |\n|          Windows | `%LOCALAPPDATA%\\Pandority` |\n|            Linux | `~/.config/Pandority`      |\n\n### Script Utilities\n\nThe following log helper can be run as a shell script in a bash interpreter:\n\n`sh ./open-log.sh` opens the log file directory.\n\n`sh ./open-log.sh \u003cfile\u003e` opens the log with the file name.\n\nIf a file is not found, the log directory will be opened instead.\nIn cases where the log directory does not exist, the script will print its path.\n\nTo enable debug logs, refer to the _Development_ section for instructions.\n\n## Development\n\nOpen the _SourceGeneratorProject_ directory in your IDE to modify the source generator.\nReview the contents of the .csproj file to see the configuration and build process details.\n\nRun `nuget restore` to install the required NuGet packages.\n\nRun `dotnet build --configuration Release`\nto produce an optimized DLL that will be automatically copied to the Unity package directory.\n\nRun `dotnet build` to build a debug version with logging enabled.\n\nA new release of the generator should always be built with the release configuration for performance reasons.\n\n### Debug Logging\n\nTo enable more detailed logging beyond the always-enabled crash log,\nset the solution configuration to `Debug` and rebuild the project.\n\n### Running Unit Tests\n\nRun `dotnet test` to execute the unit tests. The test project uses xUnit and NET 6.0.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisyarbrough%2Fpandority","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchrisyarbrough%2Fpandority","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisyarbrough%2Fpandority/lists"}