This commit is contained in:
Jacob Heider 2023-08-14 18:32:16 -04:00
parent fbd31f634f
commit d3a903f1de
No known key found for this signature in database
GPG key ID: A98011B5713535BF

View file

@ -27,24 +27,18 @@ build:
tea.xyz/gx/cc: c99 tea.xyz/gx/cc: c99
go.dev: '*' go.dev: '*'
working-directory: src working-directory: src
script: |- script:
# `make.bash` complains about unset GOCACHE and HOME otherwise - ./make.bash
export GOCACHE="$(pwd)/.gocache"
./make.bash
# cleanup # cleanup
cd .. - rm *.{bash,bat,rc} Make.dist
rm src/*.{bash,bat,rc} - run: find . -mindepth 1 -delete
rm src/Make.dist working-directory: ${{ prefix }}
if test -d "{{prefix}}"; then - run: mv api bin doc lib misc pkg src test go.env "{{prefix}}"
find "{{prefix}}" -mindepth 1 -delete working-directory: $SRCROOT
else
mkdir "{{prefix}}"
fi
mv * "{{prefix}}"
find "{{prefix}}" -mindepth 1 -maxdepth 1 -type f -delete -not -name build.sh
env: env:
# `make.bash` complains about unset GOCACHE and HOME otherwise
GOCACHE: "$SRCROOT/.gocache"
GOROOT_FINAL: ${{ prefix }} GOROOT_FINAL: ${{ prefix }}
GOROOT_BOOTSTRAP: ${{ deps.go.dev.prefix }} GOROOT_BOOTSTRAP: ${{ deps.go.dev.prefix }}