Add a dummy "main" binary.

main
Ben Niemann 2021-11-02 00:37:53 +01:00
parent f9e2656aa3
commit 7e3bdb3e78
3 changed files with 32 additions and 0 deletions

6
bin/noisicaa Normal file
View File

@ -0,0 +1,6 @@
#!/bin/bash
echo "It's working!"
for A in "$@"; do
echo ">>" "$A"
done

24
bin/wscript Normal file
View File

@ -0,0 +1,24 @@
# -*- mode: python -*-
# @begin:license
#
# Copyright (c) 2015-2017, Benjamin Niemann <pink@odahoda.de>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# @end:license
def build(ctx):
ctx.static_file('noisicaa', install_to=ctx.env.BINDIR, chmod=0o755)

View File

@ -225,6 +225,8 @@ def build(ctx):
ctx.set_group(ctx.GRP_BUILD_MAIN)
ctx(rule='touch ${TGT}', target='.nobackup')
ctx.recurse('bin')
ctx.recurse('src')
if ctx.cmd == 'test':