mirror of https://github.com/hashicorp/boundary
Makefile: check for existence of dist in build-ui-ifne (#6119)
The build-ui-ifne target is responsible for deciding whether the UI assets already exist on disk, or need to be built by cloning the UI repo and running its build scripts. The old configuration would check whether the UI repo folder existed, and assume that as long as this folder exists, it can be used to embed the UI assets. However, if the clone or ui build fails at any point, the Makefile target isn't able to retry the script. Correct the path that is checked for to be the path that is actually included in the assets.go file. This way, the Makefile script will retry building the UI until a dist folder is created.pull/6192/head
parent
ff7576e0f8
commit
fe0d2b3465
Loading…
Reference in new issue