{"id":20974877,"url":"https://github.com/usausa/embedded-build-property","last_synced_at":"2025-10-29T09:32:48.317Z","repository":{"id":172412400,"uuid":"649228735","full_name":"usausa/embedded-build-property","owner":"usausa","description":"🐰Source generator for build options.","archived":false,"fork":false,"pushed_at":"2025-03-10T04:24:29.000Z","size":75,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-04T21:49:38.447Z","etag":null,"topics":["codegenerator","source-generator","source-generators","sourcegenerator"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/usausa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-06-04T07:40:58.000Z","updated_at":"2025-04-01T15:42:36.000Z","dependencies_parsed_at":"2024-04-16T07:31:07.604Z","dependency_job_id":"442f1e03-db02-4ca3-b407-4518b3af4f67","html_url":"https://github.com/usausa/embedded-build-property","commit_stats":null,"previous_names":["usausa/embedded-build-property"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usausa%2Fembedded-build-property","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usausa%2Fembedded-build-property/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usausa%2Fembedded-build-property/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usausa%2Fembedded-build-property/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/usausa","download_url":"https://codeload.github.com/usausa/embedded-build-property/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254150571,"owners_count":22022983,"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":["codegenerator","source-generator","source-generators","sourcegenerator"],"created_at":"2024-11-19T04:35:04.016Z","updated_at":"2025-10-29T09:32:48.312Z","avatar_url":"https://github.com/usausa.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BunnyTail.EmbeddedBuildProperty\n\n[![NuGet](https://img.shields.io/nuget/v/BunnyTail.EmbeddedBuildProperty.svg)](https://www.nuget.org/packages/BunnyTail.EmbeddedBuildProperty)\n\n## What is this?\n\nGenerate consts class to get build options.\n\n## Usage\n\n### Project\n\n```xml\n  \u003cPropertyGroup\u003e\n    \u003cEmbeddedFlavor\u003eDevelopment\u003c/EmbeddedFlavor\u003e\n    \u003cEmbeddedSecretKey\u003e\u003c/EmbeddedFlavor\u003e\n  \u003c/PropertyGroup\u003e\n\n  \u003cImport Project=\"..\\.UserEmbeddedProperty.props\" Condition=\"Exists('..\\.UserEmbeddedProperty.props')\" /\u003e\n\n  \u003cPropertyGroup\u003e\n    \u003cEmbeddedPropertyValues\u003e\n      Flavor=string:$(EmbeddedFlavor),\n      SecretKey=string:$(EmbeddedSecretKey)\n    \u003c/EmbeddedPropertyValues\u003e\n  \u003c/PropertyGroup\u003e\n```\n\n### Source\n\n```cs\nConsole.WriteLine($\"Flavor: {EmbeddedProperty.Flavor}\");\nConsole.WriteLine($\"SecretKey: {EmbeddedProperty.SecretKey}\");\n```\n\n### Build\n\n```\ndotnet build Example.csproj /p:Flavor=Production /p:SecretKey=xxxx\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fusausa%2Fembedded-build-property","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fusausa%2Fembedded-build-property","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fusausa%2Fembedded-build-property/lists"}