summaryrefslogtreecommitdiffstats
path: root/lang/golang/go-strip-helper
blob: e2351e1a6a0027638108f6df031291adf9d34c66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
#
# Copyright (C) 2026 George Sapkin
#
# SPDX-License-Identifier: GPL-2.0-only

for last; do :; done

case "$last" in
	*-doc|*-misc|*-src|*-tests)
		echo "Not stripping: $last"
		exit 0
		;;
esac

"$@"