Add a new BuildExtensions package that contains a UserPreference macro.

The build extensions package can be used for both macros and plugins.
This commit is contained in:
Doug
2026-06-26 13:45:09 +01:00
committed by Doug
parent f3da459d16
commit c53e0c1466
13 changed files with 561 additions and 59 deletions
@@ -0,0 +1,14 @@
//
// Copyright 2026 Element Creations Ltd.
//
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial.
// Please see LICENSE files in the repository root for full details.
//
import SwiftCompilerPlugin
import SwiftSyntaxMacros
@main
struct BuildExtensionsPlugin: CompilerPlugin {
let providingMacros: [Macro.Type] = [UserPreferenceMacro.self]
}