summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTobias Henkel <tobias.henkel@bmw.de>2019-06-04 19:44:09 +0200
committerTobias Henkel <tobias.henkel@bmw.de>2020-07-07 19:53:33 +0200
commitb6f3167b9c4d219daddf6a86ab4df9a8eed4bec8 (patch)
tree4d0e8e15eb1e9cf2fba3023f594d590bc5f6e518 /tools
parentc04a8b19837961a17cfda44609d17eac0f3c2c8a (diff)
downloadzuul-b6f3167b9c4d219daddf6a86ab4df9a8eed4bec8.tar.gz
Revert "Revert "Create zuul/web/static on demand""
The js content tarball creation was broken. Instead of leaving the symlink to a non-existing directory which gets created during python setup we should just remove that symlink as well and create the symlink and the static dir during the python setup. This way nothing will be in the way of the javascript content generation. This reverts commit eb7b18b38e01688b5b05e5dfdb359ff5d42d1ed8. Change-Id: I5f8bfa62cd2d4d9823b86dbcda14885230847a82
Diffstat (limited to 'tools')
-rwxr-xr-xtools/pip.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/pip.sh b/tools/pip.sh
index dde6a19b3..de9724f4e 100755
--- a/tools/pip.sh
+++ b/tools/pip.sh
@@ -39,6 +39,8 @@ then
fi
if [[ ! -f zuul/web/static/status.html ]]
then
+ mkdir -p zuul/web/static
+ ln -sfn ../zuul/web/static web/build
pushd web/
yarn install
yarn build