Files
rspamd-cgp/build
T

15 lines
221 B
Python
Executable File

#!/bin/bash
export GOPATH="${HOME}/src/rspamd-cgp"
if [ "$1" == "fmt" ]; then
go fmt $*
elif [ "$1" == "tidy" ]; then
go mod tidy
elif [ "$1" == "vet" ]; then
echo "vet..."
go vet
else
go build
fi