1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

freebsd: update Makefile to use --filter=blob:none for vc/

This commit is contained in:
Delyan Angelov 2022-12-14 13:25:40 +02:00
parent 173b1895d6
commit 93a1cd5aab
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -5,9 +5,8 @@ LDFLAGS ?=
.PHONY: all check
all:
rm -rf vc/
git clone --depth 1 --quiet https://github.com/vlang/vc
all: vc
git -C vc/ pull;
$(CC) $(CFLAGS) -std=gnu11 -w -o v1 vc/v.c -lm -lexecinfo -lpthread $(LDFLAGS)
./v1 -no-parallel -o v2 $(VFLAGS) cmd/v
./v2 -o v $(VFLAGS) cmd/v
@ -15,5 +14,8 @@ all:
@echo "V has been successfully built"
./v run ./cmd/tools/detect_tcc.v
vc/v.c:
git clone --filter=blob:none https://github.com/vlang/vc
check:
./v test-all