Skip to content

Commit

Permalink
Module API
Browse files Browse the repository at this point in the history
  • Loading branch information
2xsaiko committed Jan 11, 2025
1 parent 51efce4 commit 87b098e
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions mesonbuild/modules/nsbundle.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# SPDX-License-Identifier: Apache-2.0
# SPDX-FileCopyrightText: 2025 Marco Rebhan <[email protected]>

from __future__ import annotations

import typing as T

from . import NewExtensionModule, ModuleInfo

if T.TYPE_CHECKING:
from mesonbuild.interpreter import Interpreter


class NSBundleModule(NewExtensionModule):
INFO = ModuleInfo('nsbundle', '1.6.99')

def __init__(self, interpreter: Interpreter):
super().__init__()
self.methods.update({})


def initialize(*args: T.Any, **kwargs: T.Any) -> NSBundleModule:
return NSBundleModule(*args, **kwargs)

0 comments on commit 87b098e

Please sign in to comment.