Runs the static asset packaging inside the container; updates assets.

This commit is contained in:
James Phillips 2016-11-08 15:14:08 -08:00
parent 365f17d7f3
commit bc47511d26
No known key found for this signature in database
GPG Key ID: 77183E682AC5FC11
3 changed files with 24 additions and 17 deletions

View File

@ -59,7 +59,8 @@ vet:
echo "and fix them if necessary before submitting the code for reviewal."; \
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:
@sh -c "'$(CURDIR)/scripts/ui.sh'"

File diff suppressed because one or more lines are too long

View File

@ -9,10 +9,16 @@ DIR="$( cd -P "$( dirname "$SOURCE" )/.." && pwd )"
# Change into that dir because we expect that.
cd $DIR
# Make sure build tools are available.
make tools
# Build the web assets.
pushd ui
bundle
make dist
popd
# Make the static assets using the container version of the builder
make static-assets
exit 0