blob: 04738f414eb6c3ab329406549b980ef052c0bc66 [file] [log] [blame]
#!/bin/bash
APPNAME=skiaperf
set -x -e
# Copy files into the right locations in ${ROOT}.
copy_release_files()
{
${INSTALL} --mode=644 -T ${APPNAME}/Dockerfile ${ROOT}/Dockerfile
${INSTALL} --mode=755 -T ${GOPATH}/bin/skiaperf ${ROOT}/usr/local/bin/skiaperf
${INSTALL_DIR} --mode=755 ${ROOT}/usr/local/share/skiaperf/templates
${INSTALL} --mode=644 ./templates/* ${ROOT}/usr/local/share/skiaperf/templates
${INSTALL} --mode=644 ./res/img/favicon.ico ${ROOT}/usr/local/share/skiaperf/res/img/favicon.ico
${INSTALL} --mode=644 ./res/js/core.js ${ROOT}/usr/local/share/skiaperf/res/js/core.js
${INSTALL} --mode=644 ./res/vul/elements.html ${ROOT}/usr/local/share/skiaperf/res/vul/elements.html
}
source ../bash/docker_build.sh