aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/minit.py
diff options
context:
space:
mode:
authorMichael Brockus <55331536+michaelbadcrumble@users.noreply.github.com>2020-02-24 11:34:48 -0800
committerGitHub <noreply@github.com>2020-02-24 11:34:48 -0800
commit0f92e0c3faea146dde616d07e8fd6ccdd5fdd167 (patch)
tree6e13750062f94ea88bca7c43a24b54dbe9b2b74b /mesonbuild/minit.py
parentb12ba4b1bc9261c337304564b04e44d044248080 (diff)
downloadmeson-0f92e0c3faea146dde616d07e8fd6ccdd5fdd167.zip
meson-0f92e0c3faea146dde616d07e8fd6ccdd5fdd167.tar.gz
meson-0f92e0c3faea146dde616d07e8fd6ccdd5fdd167.tar.bz2
Update minit.py
Diffstat (limited to 'mesonbuild/minit.py')
-rw-r--r--mesonbuild/minit.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/mesonbuild/minit.py b/mesonbuild/minit.py
index 2b21ef9..85d4a0f 100644
--- a/mesonbuild/minit.py
+++ b/mesonbuild/minit.py
@@ -39,9 +39,8 @@ we currently have one meson template at this time.
'''
from mesonbuild.templates.mesontemplates import create_meson_build
-FORTRAN_SUFFIXES = ('.f', '.for', '.F', '.f90', '.F90')
-LANG_SUFFIXES = {'.c', '.cc', '.cpp', '.cs', '.cu', '.d', '.m', '.mm', '.rs', '.java'}
-LANG_SUFFIXES.add(FORTRAN_SUFFIXES)
+FORTRAN_SUFFIXES = {'.f', '.for', '.F', '.f90', '.F90'}
+LANG_SUFFIXES = {'.c', '.cc', '.cpp', '.cs', '.cu', '.d', '.m', '.mm', '.rs', '.java'} | FORTRAN_SUFFIXES
LANG_SUPPORTED = {'c', 'cpp', 'cs', 'cuda', 'd', 'fortran', 'java', 'rust', 'objc', 'objcpp'}
DEFAULT_PROJECT = 'executable'