go-gst/buildAll.sh
RSWilli d5862de22e change github action to build all packages
* fix issues
* add build script to build all packages locally
2023-09-01 13:16:18 +02:00

9 lines
183 B
Bash
Executable File

#!/bin/bash
# this script builds all go packages in the current directory
packages=$(go list ./...)
for package in $packages; do
go build -o /dev/null "$package" || exit 1
done