2 # Copyright 2020 Blue Static <https://www.bluestatic.org>
3 # This program is free software licensed under the GNU General Public License,
4 # version 3.0. The full text of the license can be found in LICENSE.txt.
5 # SPDX-License-Identifier: GPL-3.0-only
18 # Drop tests from the compiled output.
19 find $OUTDIR -type f
-name
'*.test.*' -exec rm {} +
21 cp -r examples
$OUTDIR
23 cp LICENSE.txt
$OUTDIR
25 # "Preprocess" the dist package.json.
26 cp .
/package.json
$OUTDIR
27 sed -i.bak
-e s@
\"dist
/@
\"@
$OUTDIR/package.json
28 rm $OUTDIR/package.json.bak