Files
packages/lang/golang/golang1.25/test.sh
George Sapkin 5657eb0e2e golang: split src into separate packages
Split misc sources and test data into separate packages. Reduces target
src package size by a third.

Move architecture-dependent generated source from src to the main
package.

Mark doc, misc, src and tests packages with PKGARCH:=all as they don't
have any architecture-specific files.

Fix stripping and strip compiler only.

Fixes: c137c382 ("golang: new packages")
Link: https://github.com/openwrt/packages/pull/28445
Suggested-by: Jeffery To <jeffery.to@gmail.com>
Signed-off-by: George Sapkin <george@sapk.in>
2026-02-02 10:10:03 +02:00

10 lines
169 B
Bash
Executable File

#!/bin/sh
#
# SPDX-License-Identifier: GPL-2.0-only
case "$1" in
golang*doc|golang*misc|golang*src|golang*tests) exit ;;
esac
go version | grep -F " go$PKG_VERSION "