switch to weekly builds. currently broken due to changes in the v c-compiler. git clone builds, so i expect this will be fixed with the next weekly release.

it git clones the current compiler from another archive to build, so all past versions are strictly unbuildable (as is the most recent release).
This commit is contained in:
Jacob Heider 2023-04-15 21:22:42 -04:00
parent 6ab5fc2f4d
commit 049bb4bb07
No known key found for this signature in database
GPG key ID: A98011B5713535BF

View file

@ -1,10 +1,10 @@
distributable:
url: https://github.com/vlang/v/archive/refs/tags/{{ version }}.tar.gz
url: https://github.com/vlang/v/archive/refs/tags/weekly.{{ version.raw }}.tar.gz
strip-components: 1
versions:
github: vlang/v/tags
ignore: /weekly\./
github: vlang/v
strip: /weekly\./
interprets:
extensions: v
@ -21,8 +21,7 @@ build:
git apply props/int-types.diff
fi
cc -std=gnu11 -w -o v vc/v.c -lm
make
mkdir -p "{{prefix}}/"{libexec,bin}
cp -R cmd thirdparty v v.mod vlib {{prefix}}/libexec/