blob: 372b31eb78937410e8c42beea6afb542001cf27b [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} --mode=644 ./res/img/favicon.ico ${ROOT}/usr/local/share/skiaperf/res/img/favicon.ico
${INSTALL} --mode=644 ./res/img/icon-192x192.png ${ROOT}/usr/local/share/skiaperf/res/img/icon-192x192.png
${INSTALL} --mode=644 ./res/img/icon-512x512.png ${ROOT}/usr/local/share/skiaperf/res/img/icon-512x512.png
${INSTALL} --mode=644 ./res/manifest.json ${ROOT}/usr/local/share/skiaperf/res/manifest.json
${INSTALL_DIR} --mode=755 ${ROOT}/usr/local/share/skiaperf/dist
${INSTALL} --mode=644 ./dist/* ${ROOT}/usr/local/share/skiaperf/dist
}
source ../bash/docker_build.sh