mirror of
https://github.com/status-im/consul.git
synced 2025-02-16 15:47:21 +00:00
Runs the static asset packaging inside the container; updates assets.
This commit is contained in:
parent
365f17d7f3
commit
bc47511d26
@ -59,7 +59,8 @@ vet:
|
|||||||
echo "and fix them if necessary before submitting the code for reviewal."; \
|
echo "and fix them if necessary before submitting the code for reviewal."; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# build the static web ui
|
# build the static web ui and build static assets inside a Docker container, the
|
||||||
|
# same way a release build works
|
||||||
ui:
|
ui:
|
||||||
@sh -c "'$(CURDIR)/scripts/ui.sh'"
|
@sh -c "'$(CURDIR)/scripts/ui.sh'"
|
||||||
|
|
||||||
|
File diff suppressed because one or more lines are too long
@ -9,10 +9,16 @@ DIR="$( cd -P "$( dirname "$SOURCE" )/.." && pwd )"
|
|||||||
# Change into that dir because we expect that.
|
# Change into that dir because we expect that.
|
||||||
cd $DIR
|
cd $DIR
|
||||||
|
|
||||||
|
# Make sure build tools are available.
|
||||||
|
make tools
|
||||||
|
|
||||||
# Build the web assets.
|
# Build the web assets.
|
||||||
pushd ui
|
pushd ui
|
||||||
bundle
|
bundle
|
||||||
make dist
|
make dist
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
# Make the static assets using the container version of the builder
|
||||||
|
make static-assets
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user