aboutsummaryrefslogtreecommitdiff
path: root/build/root.build
blob: 236b359682b57e178a6fd56b7544066d4d37e921 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# file      : build/root.build
# copyright : Copyright (c) 2014-2018 Code Synthesis Ltd
# license   : MIT; see accompanying LICENSE file

# Bash module target type.
#
# We install it into the same location where the scripts that use it would
# presumably go.
#
# @@ Path/string cast is ugly, should go away once have implicit to-untyped
#    conversion during function call.
#
define bash: file
bash{*}: extension    = bash
bash{*}: install      = bin/$path.base($project)/
bash{*}: install.mode = 644