From ec491e200ba82f6f6d0df2f10ae4a607efeb3657 Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Wed, 4 Mar 2015 23:53:35 +0200 Subject: A very simple module implementation to get things going. --- modules/modtest.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 modules/modtest.py (limited to 'modules/modtest.py') diff --git a/modules/modtest.py b/modules/modtest.py new file mode 100644 index 000000000..e6d4c5f36 --- /dev/null +++ b/modules/modtest.py @@ -0,0 +1,16 @@ +# Copyright 2012-2015 The Meson development team + +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at + +# http://www.apache.org/licenses/LICENSE-2.0 + +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +def print_hello(args, kwargs): + print('Hello from a Meson module') -- cgit v1.2.3