diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2023-07-25 09:13:25 -0700 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2023-07-25 15:50:21 -0400 |
commit | 65a0cd127e1b180965a1aa5d139c0aac68557c03 (patch) | |
tree | a6bce62675ab44e1ad7ac5e19ec88d97b4fc0011 /mesonbuild/minit.py | |
parent | d0729bde02a4fd7708fc9fce2dd779e9fb9ab342 (diff) | |
download | meson-65a0cd127e1b180965a1aa5d139c0aac68557c03.zip meson-65a0cd127e1b180965a1aa5d139c0aac68557c03.tar.gz meson-65a0cd127e1b180965a1aa5d139c0aac68557c03.tar.bz2 |
templates: fix typo in function name `sameple` -> `sample`
Diffstat (limited to 'mesonbuild/minit.py')
-rw-r--r-- | mesonbuild/minit.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/minit.py b/mesonbuild/minit.py index 8f64f9b..abe8104 100644 --- a/mesonbuild/minit.py +++ b/mesonbuild/minit.py @@ -30,7 +30,7 @@ from mesonbuild import build, mesonlib, mlog from mesonbuild.coredata import FORBIDDEN_TARGET_NAMES from mesonbuild.environment import detect_ninja from mesonbuild.templates.mesontemplates import create_meson_build -from mesonbuild.templates.samplefactory import sameple_generator +from mesonbuild.templates.samplefactory import sample_generator if T.TYPE_CHECKING: import argparse @@ -75,7 +75,7 @@ def create_sample(options: Arguments) -> None: Based on what arguments are passed we check for a match in language then check for project type and create new Meson samples project. ''' - sample_gen = sameple_generator(options) + sample_gen = sample_generator(options) if options.type == DEFAULT_TYPES['EXE'].value: sample_gen.create_executable() elif options.type == DEFAULT_TYPES['LIB'].value: |