mirror of
https://github.com/openshift/installer.git
synced 2026-02-05 15:47:14 +01:00
Based on [1]. Generate at release-time with:
$ go generate ./data/
I've swapped [1]'s tag from 'dev' to 'release' (with the opposite
sense) because we're not going to commit the autogenerated content to
the repository ('go get' support is not worth version-controlling
machine-generated code).
Because dev builds load the data at runtime (instead of compiling it
in at build time), I've added an environment variable to fill the role
of the previous terraform.BaseLocation.
[1]: 33ae1944be/README.md (go-generate-usage)
2 lines
19 B
Plaintext
2 lines
19 B
Plaintext
/assets_vfsdata.go
|