mirror of
https://github.com/openwrt/packages.git
synced 2026-05-31 06:51:51 +08:00
021d62d58f
Only check versin for the compielr package. Signed-off-by: George Sapkin <george@sapk.in>
22 lines
260 B
Bash
Executable File
22 lines
260 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
|
|
|
|
cat <<'EOF' > hello.go
|
|
package main
|
|
|
|
import "fmt"
|
|
|
|
func main() {
|
|
fmt.Println("Hello, World!")
|
|
}
|
|
|
|
EOF
|
|
|
|
go run hello.go
|
|
rm hello.go
|