Switch to vfsgen for runtime generation

This commit is contained in:
Zachary Yedidia
2020-06-16 15:15:50 -04:00
parent 5bfc892a74
commit 319a5cba74
13 changed files with 437 additions and 7610 deletions

View File

@@ -45,13 +45,7 @@ fetch-tags:
# Builds the runtime
runtime:
git submodule update --init
rm -f runtime/syntax/*.hdr
go run runtime/syntax/make_headers.go runtime/syntax
go build -o tools/bindata ./tools/go-bindata
tools/bindata -pkg config -nomemcopy -nometadata -o runtime.go runtime/...
mv runtime.go internal/config
gofmt -w internal/config/runtime.go
go generate ./internal/config
testgen:
mkdir -p tools/vscode-tests