From d36513a06b67a916c75114d672c50cbe6ae27a84 Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Wed, 6 Sep 2023 13:57:21 -0400 Subject: [PATCH] fix(go) --- projects/go.dev/package.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/projects/go.dev/package.yml b/projects/go.dev/package.yml index 6c5ab7dd..0553f2fb 100644 --- a/projects/go.dev/package.yml +++ b/projects/go.dev/package.yml @@ -34,7 +34,11 @@ build: - rm *.{bash,bat,rc} Make.dist - run: find . -mindepth 1 -delete working-directory: ${{ prefix }} - - run: cp -a api bin doc lib misc pkg src test go.env "{{prefix}}" + - run: | + cp -a api bin doc lib misc pkg src test "{{prefix}}" + if test -f go.env; then + cp go.env "{{prefix}}" + fi working-directory: $SRCROOT env: # `make.bash` complains about unset GOCACHE and HOME otherwise